diff options
Diffstat (limited to 'src/common/common_funcs.h')
| -rw-r--r-- | src/common/common_funcs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 93f1c0044..8b0d34da6 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include <string> | 7 | #include <string> |
| 8 | 8 | ||
| 9 | #if !defined(ARCHITECTURE_x86_64) && !defined(ARCHITECTURE_ARM) | 9 | #if !defined(ARCHITECTURE_x86_64) |
| 10 | #include <cstdlib> // for exit | 10 | #include <cstdlib> // for exit |
| 11 | #endif | 11 | #endif |
| 12 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | #ifdef ARCHITECTURE_x86_64 | 33 | #ifdef ARCHITECTURE_x86_64 |
| 34 | #define Crash() __asm__ __volatile__("int $3") | 34 | #define Crash() __asm__ __volatile__("int $3") |
| 35 | #elif defined(ARCHITECTURE_ARM) | ||
| 36 | #define Crash() __asm__ __volatile__("trap") | ||
| 37 | #else | 35 | #else |
| 38 | #define Crash() exit(1) | 36 | #define Crash() exit(1) |
| 39 | #endif | 37 | #endif |