From: Nobuyoshi Nakada Date: 2009-02-12T14:13:46+09:00 Subject: Re: ruby.h defining macros Hi, At Thu, 12 Feb 2009 09:11:18 +0900, John Ky wrote in [ruby-talk:327815]: > When I include ruby.h, I'm getting new macros defined such as strcmpcase, > and close on the Windows platform. This is conflicting with macros and > function names in my own project. Is there a way to disable these macro > definitions? There is no strcmpcase, so I guess you meant strcasecmp in win32.h, right? #define strcasecmp stricmp #define strncasecmp strnicmp These definitions are specific for MSVCRT which doesn't provide these standard functions, and if you have same functions, you can #undef them of course. -- Nobu Nakada