Is "WIN32" #defined in Cygwin builds?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Is "WIN32" #defined in Cygwin builds?
Date: 2015-08-31 18:21:08
Message-ID: 797.1441045268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I started wondering about $subject because we are fairly schizophrenic
about whether we believe this. For example, only a few lines apart in
dirmod.c, there are

#if defined(WIN32) || defined(__CYGWIN__)

#if defined(WIN32) && !defined(__CYGWIN__)

Presumably, one of these could be simplified, but I'm not sure which.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message dinesh kumar 2015-08-31 18:43:56 Re: [PATCH] SQL function to report log message
Previous Message David Fetter 2015-08-31 18:05:23 Should \o mean "everything?"