From: Arjen M. <Arj...@de...> - 2017-10-10 11:43:29
|
Hi Alan, > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > Sent: Tuesday, October 10, 2017 1:36 PM > > My understanding is non-POSIX Cygwin is a thing of the past, i.e., you have the > POSIX version where no variant of WIN32 is #defined. But to be absolutely sure > on this point, write a simple programme which includes the > following: > > #if defined(WIN32) || defined(_WIN32) || defined (__WIN32__) #error Cygwin > defines at least one of the variants of the WIN32 macro #endif > That was easily tested - just for good measure (and to be sure something was happening) I added an #else case. Compiling that gave me the assurance that none of these macros is defined by the gcc compiler on Cygwin. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |