diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/assert.h | 2 | ||||
-rw-r--r-- | src/include/cpu/x86/cr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h index 829e73207e..93d6bfc412 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -94,7 +94,7 @@ extern void _dead_code_assertion_failed(void) __attribute__((noreturn)); *(type *)(uintptr_t)0; \ }) -#ifdef __x86_64__ +#if ENV_X86_64 #define pointer_to_uint32_safe(x) ({ \ if ((uintptr_t)(x) > 0xffffffffUL) \ die("Cast from pointer to uint32_t overflows"); \ diff --git a/src/include/cpu/x86/cr.h b/src/include/cpu/x86/cr.h index 3508505a7c..c70f35c103 100644 --- a/src/include/cpu/x86/cr.h +++ b/src/include/cpu/x86/cr.h @@ -9,7 +9,7 @@ #define COMPILER_BARRIER "memory" -#ifdef __x86_64__ +#if ENV_X86_64 #define CRx_TYPE uint64_t #define CRx_IN "q" #define CRx_RET "=q" |