On Jun 23 17:05, cyg Simple wrote: > 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.
If so, it was long, long, ago. AFAIR _WIN32 was only defined if you included windows.h, even back in Cygwin 1.5 times. Or even 1.3. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
signature.asc
Description: PGP signature