mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 12:46:07 +08:00
Revert RakNet source files back to the original v2.518 state
* Add RakNet source files to the VS project
This commit is contained in:
19
raknet/LinuxStrings.cpp
Normal file
19
raknet/LinuxStrings.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
#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
|
Reference in New Issue
Block a user