summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-09 18:14:05 +0100
committerbunnei <bunneidev@gmail.com>2014-12-09 18:14:05 +0100
commit360f68419db55de15a996feb1874d1b0b82c4661 (patch)
tree816d9a88deded411908e6d9aa22a648416c41469 /src/common
parentMerge pull request #217 from archshift/cmd_buff (diff)
parentMore cleanups. (diff)
downloadyuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar.gz
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar.bz2
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar.lz
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar.xz
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.tar.zst
yuzu-360f68419db55de15a996feb1874d1b0b82c4661.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_funcs.h6
-rw-r--r--src/common/log.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 1139dc3b8..db041780a 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -4,6 +4,8 @@
#pragma once
+#include "common_types.h"
+
#ifdef _WIN32
#define SLEEP(x) Sleep(x)
#else
@@ -37,6 +39,8 @@ template<> struct CompileTimeAssert<true> {};
#include <sys/endian.h>
#endif
+#include "common_types.h"
+
// go to debugger mode
#ifdef GEKKO
#define Crash()
@@ -73,6 +77,8 @@ inline u64 _rotr64(u64 x, unsigned int shift){
}
#else // WIN32
+#include <locale.h>
+
// Function Cross-Compatibility
#define strcasecmp _stricmp
#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 @@
#pragma once
+#include "common/common_funcs.h"
+#include "common/msg_handler.h"
+
#ifndef LOGGING
#define LOGGING
#endif