This is the mail archive of the cygwin 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: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature

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