summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-10 18:12:52 +0200
committerGitHub <noreply@github.com>2018-07-10 18:12:52 +0200
commit04524e76c2694def4a2f1f4279ad2a2db787c775 (patch)
tree5cf6c1ba860712810a378ab1c678692fc4124db7 /src/common/common_funcs.h
parentMerge pull request #642 from bunnei/create-save-dir (diff)
parentPort #3579 from Citra (diff)
downloadyuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar.gz
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar.bz2
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar.lz
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar.xz
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.tar.zst
yuzu-04524e76c2694def4a2f1f4279ad2a2db787c775.zip
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 7cf7b7997..995938d0b 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -4,7 +4,7 @@
#pragma once
-#if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM)
+#if !defined(ARCHITECTURE_x86_64) && !defined(ARCHITECTURE_ARM)
#include <cstdlib> // for exit
#endif
#include "common/common_types.h"
@@ -30,7 +30,7 @@
#ifdef ARCHITECTURE_x86_64
#define Crash() __asm__ __volatile__("int $3")
-#elif defined(_M_ARM)
+#elif defined(ARCHITECTURE_ARM)
#define Crash() __asm__ __volatile__("trap")
#else
#define Crash() exit(1)