1 #ifndef _GCC_WIN_STRINGS 2 #define _GCC_WIN_STRINGS 3 4 5 6 7 8 9 10 11 12 #if (defined(__GNUC__) || defined(__GCCXML__)) && !defined(_WIN32) 13 #ifndef _stricmp 14 int _stricmp(const char* s1, const char* s2); 15 #endif 16 int _strnicmp(const char* s1, const char* s2, size_t n); 17 #ifndef __APPLE__ 18 char *_strlwr(char * str ); //this won't compile on OSX for some reason 19 #endif 20 #ifndef _vsnprintf 21 #define _vsnprintf vsnprintf 22 #endif 23 #endif 24 25 26 #endif // _GCC_WIN_STRINGS 27