forked from ShuriZma/suyu
1
0
Fork 0

Fix some headers to include their dependencies properly.

This commit is contained in:
Tony Wasserka 2014-12-04 21:57:00 +01:00
parent b7327f807c
commit 27280f178b
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -4,6 +4,9 @@
#pragma once #pragma once
#include "common/common_funcs.h"
#include "common/msg_handler.h"
#ifndef LOGGING #ifndef LOGGING
#define LOGGING #define LOGGING
#endif #endif