SA-MP/raknet/LinuxStrings.cpp

20 lines
345 B
C++
Raw Normal View History

#if (defined(__GNUC__) || defined(__GCCXML__))
#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);
}
//#ifndef __CYGWIN__
//int _unlink(const char* filename)
//{
// return remove(filename);
//}
//#endif
#endif