wspiapi.h uses _N conflicting with ctype.h

Mon Aug 3 22:45:00 GMT 2015

On 8/3/2015 21:46, Corinna Vinschen wrote:
> The best result would be if you (or we) could convince the mingw-w64
> guys not to use _N.  Jon?  Any chance you could apply a patch to use
> _n with lower case n?
> For the time being, you can push/pop the clashing macros prior to
> including the problematic header(s):
>   #include <ctype.h>
>   #pragma push_macro ("_N")
>   #undef _N
>   #include <wspiapi.h>
>   #pragma pop_macro("_N")

OK, I'll see to this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Cygwin mailing list