summaryrefslogtreecommitdiff
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-12-04 21:57:00 +0100
committerGravatar Tony Wasserka2014-12-09 16:37:34 +0100
commit27280f178bf2ea94f575849da036d11d23f30d94 (patch)
treef052de7c0c24dd19e2a161aa71791fdf6c8e12c4 /src/common/common_funcs.h
parentMerge pull request #217 from archshift/cmd_buff (diff)
downloadyuzu-27280f178bf2ea94f575849da036d11d23f30d94.tar.gz
yuzu-27280f178bf2ea94f575849da036d11d23f30d94.tar.xz
yuzu-27280f178bf2ea94f575849da036d11d23f30d94.zip
Fix some headers to include their dependencies properly.
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h4
1 files changed, 4 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