diff options
author | marha <marha@users.sourceforge.net> | 2013-10-01 12:23:16 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-10-01 12:28:08 +0200 |
commit | 6dd755aa923291db2501cc5c22e409c41a70e3c1 (patch) | |
tree | fa88a321afc13657f7687a25d466f49151c9599a /X11/Xwinsock.h | |
parent | a5391fdea94a7b827069c6f926f83a235076ccb4 (diff) | |
download | vcxsrv-6dd755aa923291db2501cc5c22e409c41a70e3c1.tar.gz vcxsrv-6dd755aa923291db2501cc5c22e409c41a70e3c1.tar.bz2 vcxsrv-6dd755aa923291db2501cc5c22e409c41a70e3c1.zip |
Update following packages:
libXpm-3.5.11
libXaw-1.0.12
libXfont-1.4.6
libXrender-0.9.8
xproto-7.0.24
inputproto-2.3
xclock-1.0.7
xhost-1.0.6
Diffstat (limited to 'X11/Xwinsock.h')
-rw-r--r-- | X11/Xwinsock.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h index e6ca7b54b..a81dd7a25 100644 --- a/X11/Xwinsock.h +++ b/X11/Xwinsock.h @@ -39,7 +39,13 @@ The Open Group. # undef XFree86Server #endif -#define BOOL wBOOL +/* + * mingw-w64 headers define BOOL as a typedef, protecting against macros + * mingw.org headers define BOOL in terms of WINBOOL + * ... so try to come up with something which works with both :-) + */ +#define _NO_BOOL_TYPEDEF +#define BOOL WINBOOL #define INT32 wINT32 #undef Status #define Status wStatus @@ -58,6 +64,12 @@ The Open Group. #undef RT_FONT #undef RT_CURSOR +/* + * Older version of this header used to name the windows API bool type wBOOL, + * rather than more standard name WINBOOL + */ +#define wBOOL WINBOOL + #ifdef _XFree86Server # define XFree86Server # undef _XFree86Server |