cross-platformize strncasecmp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2029 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-01-29 02:13:36 +00:00
parent a5e0bdb1ed
commit b4158a28ee
1 changed files with 2 additions and 0 deletions

View File

@ -61,10 +61,12 @@
// Function Cross-Compatibility
#ifdef _WIN32
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define unlink _unlink
#define snprintf _snprintf
#else
#define _stricmp strcasecmp
#define _strnicmp strncasecmp
#define _unlink unlink
#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))
#endif