diff options
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index c99c5ffe20..cd90946aeb 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3070,7 +3070,7 @@ void syscall_init(void) #if TARGET_ABI_BITS == 32 static inline uint64_t target_offset64(uint32_t word0, uint32_t word1) { -#ifdef TARGET_WORDS_BIG_ENDIAN +#ifdef TARGET_WORDS_BIGENDIAN return ((uint64_t)word0 << 32) | word1; #else return ((uint64_t)word1 << 32) | word0; |