diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/common_funcs.h | 4 | ||||
| -rw-r--r-- | src/common/log.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 1139dc3b8..3f6df075a 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common_types.h" | ||
| 8 | |||
| 7 | #ifdef _WIN32 | 9 | #ifdef _WIN32 |
| 8 | #define SLEEP(x) Sleep(x) | 10 | #define SLEEP(x) Sleep(x) |
| 9 | #else | 11 | #else |
| @@ -73,6 +75,8 @@ inline u64 _rotr64(u64 x, unsigned int shift){ | |||
| 73 | } | 75 | } |
| 74 | 76 | ||
| 75 | #else // WIN32 | 77 | #else // WIN32 |
| 78 | #include <locale.h> | ||
| 79 | |||
| 76 | // Function Cross-Compatibility | 80 | // Function Cross-Compatibility |
| 77 | #define strcasecmp _stricmp | 81 | #define strcasecmp _stricmp |
| 78 | #define strncasecmp _strnicmp | 82 | #define strncasecmp _strnicmp |
diff --git a/src/common/log.h b/src/common/log.h index 14ad98c08..ff0295cb0 100644 --- a/src/common/log.h +++ b/src/common/log.h | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common/common_funcs.h" | ||
| 8 | #include "common/msg_handler.h" | ||
| 9 | |||
| 7 | #ifndef LOGGING | 10 | #ifndef LOGGING |
| 8 | #define LOGGING | 11 | #define LOGGING |
| 9 | #endif | 12 | #endif |