On Tue, Aug 21, 2012 at 7:34 AM, JonY <jo...@users.sourceforge.net> wrote: > Here's the part from mingw-w64 windef.h: > > #ifndef _DEF_WINBOOL_ > #define _DEF_WINBOOL_ > typedef int WINBOOL; > #pragma push_macro("BOOL") > #undef BOOL > #if !defined(__OBJC__) && !defined(__OBJC_BOOL) && > !defined(__objc_INCLUDE_GNU) > typedef int BOOL; > #endif > #define BOOL WINBOOL > typedef BOOL *PBOOL; > typedef BOOL *LPBOOL; > #pragma pop_macro("BOOL") > #endif /* _DEF_WINBOOL_ */ > > Note the pragma push and undef, the Xwindows.h macro tricks no longer > works. Perhaps guarding against _XFree86Server instead of XFree86Server > will work? > >
Or just fix Xwindows....