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 Wed, Nov 9, 2011 at 1:11 PM, Charles Wilson wrote:You *think* you're safe in assuming that WIN32 == !__CYGWIN__, but...#include<jpeg.h> breaks all your assumptions. But jpeg.h *did nothing wrong*.
It's better to be explicit.
-- Chuck
OK, so this leads me to the next question: The existing codebase has substantial numbers of places with #if defined(WIN32) - do these all imply #if defined(WIN32)&& !defined(__CYGWIN__) ?
I generally avoided touching things I didn't have to,
but this may be worth clarifying codebase-wide.
-- Chuck
-- 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] |