mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
20 lines
345 B
C++
20 lines
345 B
C++
|
|
||
|
#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
|