This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 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] |
On 11/7/2011 1:10 PM, Jon TURNEY wrote:I see what you are trying to do here, but I'm not sure it actually adds any clarity.
I think I'd just prefer to assume the knowledge that WIN32 and CYGWIN are mutually exclusive, so '#if defined(WIN32)&& !defined(__CYGWIN__)' can just be written '#ifdef WIN32'
But this isn't true if you ever #include any of the w32api headers. Then you get WIN32 defined, even on cygwin...
-- Jon TURNEY Volunteer Cygwin/X X Server maintainer
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |