summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-30 17:34:51 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-30 18:02:41 +0200
commit691a42fe98954c247a8b7e9305a3e9ca5c04d40c (patch)
tree52b6a286b6609675cbc69c63b3aa9f695ea95f0f /src/common/common_funcs.h
parentLCD: Remove unneeded #undef with no matching #define. (diff)
downloadyuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.gz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.bz2
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.lz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.xz
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.tar.zst
yuzu-691a42fe98954c247a8b7e9305a3e9ca5c04d40c.zip
Diffstat (limited to '')
-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 aa6aff7b9..ab3515683 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -4,6 +4,10 @@
#pragma once
+#if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM)
+#include <cstdlib> // for exit
+#endif
+
#include "common_types.h"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))