Revert RakNet source files back to the original v2.518 state

* Add RakNet source files to the VS project
This commit is contained in:
RD42
2024-08-16 23:33:48 +08:00
parent 3bad4d20c2
commit bcdbedc0be
166 changed files with 46610 additions and 1598 deletions

19
raknet/LinuxStrings.cpp Normal file
View 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