DarkflameServer/thirdparty/raknet/Source/LinuxStrings.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
263 B
C++
Raw Permalink Normal View History

#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