[ITA] w32api-3.0b_svn5368-1

NightStrike nightstrike@gmail.com
Tue Aug 21 12:10:00 GMT 2012


On Tue, Aug 21, 2012 at 7:34 AM, JonY <jon_y@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....



More information about the Cygwin-apps mailing list