mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 22:13:35 +00:00
13 lines
263 B
C++
13 lines
263 B
C++
|
|
||
|
#if (defined(__GNUC__) || defined(__GCCXML__)) && !defined(__WIN32)
|
||
|
#include <string.h>
|
||
|
int _stricmp(const char* s1, const char* s2)
|
||
|
{
|
||
|
return strcasecmp(s1,s2);
|
||
|
}
|
||
|
int _strnicmp(const char* s1, const char* s2, size_t n)
|
||
|
{
|
||
|
return strncasecmp(s1,s2,n);
|
||
|
}
|
||
|
#endif
|