aboutsummaryrefslogtreecommitdiff
path: root/linux-user/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/uname.c')
-rw-r--r--linux-user/uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/uname.c b/linux-user/uname.c
index 1d82608c10..0856783b21 100644
--- a/linux-user/uname.c
+++ b/linux-user/uname.c
@@ -41,7 +41,7 @@ const char *cpu_to_uname_machine(void *cpu_env)
/* in theory, endianness is configurable on some ARM CPUs, but this isn't
* used in user mode emulation */
-#ifdef TARGET_WORDS_BIGENDIAN
+#if TARGET_BIG_ENDIAN
#define utsname_suffix "b"
#else
#define utsname_suffix "l"