On 6/22/2016 1:17 PM, Corinna Vinschen wrote: > On Jun 22 10:01, Warren Young wrote: >> Still, you could get similar problems. ifdefs for portable >> sized-integer types are a particularly rich source of bugs, especially >> ones where #ifdef WINDOWS precedes any test that could match Cygwin, >> since WINDOWS is defined in Cygwin’s GCC, and as this exchange shows, > > No, it isn't. Neither is _WIN32 or _WINNT_, unless you include > <windows.h>. Try `gcc -dM -E - < /dev/null | grep WIN' >
IIRC early versions (2.8, 3.x) of Cygwin GCC did but it hasn't for some time. I forget when it changed. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple