diff options
| author | fearlessTobi <thm.frey@gmail.com> | 2018-07-07 13:59:18 +0200 |
|---|---|---|
| committer | fearlessTobi <thm.frey@gmail.com> | 2018-07-07 13:59:18 +0200 |
| commit | 365753a98c6e7dc055098fa55be103a48d1b25e1 (patch) | |
| tree | d383e9925ec3fe864f75a3feba1896eec41689b3 /src/common/common_funcs.h | |
| parent | d648ecb8d8cae2df898accb9a6896983f2654cb9 (diff) | |
Port #3579 from Citra
Diffstat (limited to 'src/common/common_funcs.h')
| -rw-r--r-- | src/common/common_funcs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 7cf7b79979..995938d0b4 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) |
