|
@@ -4,6 +4,8 @@
|
|
|
|
|
|
|
|
#pragma once
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
+#include "common_types.h"
|
|
|
|
|
+
|
|
|
#ifdef _WIN32
|
|
#ifdef _WIN32
|
|
|
#define SLEEP(x) Sleep(x)
|
|
#define SLEEP(x) Sleep(x)
|
|
|
#else
|
|
#else
|
|
@@ -73,6 +75,8 @@ inline u64 _rotr64(u64 x, unsigned int shift){
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#else // WIN32
|
|
#else // WIN32
|
|
|
|
|
+#include <locale.h>
|
|
|
|
|
+
|
|
|
// Function Cross-Compatibility
|
|
// Function Cross-Compatibility
|
|
|
#define strcasecmp _stricmp
|
|
#define strcasecmp _stricmp
|
|
|
#define strncasecmp _strnicmp
|
|
#define strncasecmp _strnicmp
|