patch applied (packages/X11): undef XDestroyImage instead of
defining XUTIL_DEFINE_FUNCTIONS
Ross Paterson
ross at soi.city.ac.uk
Wed Nov 8 09:27:48 EST 2006
Wed Nov 8 06:26:02 PST 2006 Ross Paterson <ross at soi.city.ac.uk>
* undef XDestroyImage instead of defining XUTIL_DEFINE_FUNCTIONS
Comment in the file:
Xutil.h overrides some functions with macros.
In recent versions of X this can be turned off with
#define XUTIL_DEFINE_FUNCTIONS
before the #include, but this doesn't work with older versions.
As a workaround, we undef the macros here. Note that this is only
safe for functions with return type int.
M ./include/HsXlib.h -1 +12
More information about the Cvs-libraries
mailing list