23 lines
356 B
C
23 lines
356 B
C
#ifndef __WINCSTRING_H__
|
|
#define __WINCSTRING_H__
|
|
|
|
#include <cstring>
|
|
|
|
#if defined(WIN32) && !defined(__MINGW32__)
|
|
|
|
/*
|
|
* some functions have strange names on windows
|
|
*/
|
|
#ifndef strcasecmp
|
|
#define strcasecmp _stricmp
|
|
#endif
|
|
#ifndef strncasecmp
|
|
#define strncasecmp _strnicmp
|
|
#endif
|
|
#ifndef snprintf
|
|
#define snprintf _snprintf
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|