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: wspiapi.h uses _N conflicting with ctype.h


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.



Attachment: signature.asc
Description: OpenPGP digital signature


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