diff options
Diffstat (limited to 'src/shared/gpt.h')
-rw-r--r-- | src/shared/gpt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 64090e0e9b..278940bf03 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -42,10 +42,10 @@ # define GPT_ROOT_NATIVE GPT_ROOT_X86 #endif -#if defined(__aarch64__) && !defined(WORDS_BIGENDIAN) +#if defined(__aarch64__) && (__BYTE_ORDER != __BIG_ENDIAN) # define GPT_ROOT_NATIVE GPT_ROOT_ARM_64 # define GPT_ROOT_SECONDARY GPT_ROOT_ARM -#elif defined(__arm__) && !defined(WORDS_BIGENDIAN) +#elif defined(__arm__) && (__BYTE_ORDER != __BIG_ENDIAN) # define GPT_ROOT_NATIVE GPT_ROOT_ARM #endif |