This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITA] w32api-3.0b_svn5368-1


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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]