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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-user/uname.c b/linux-user/uname.c
index 1d82608c10..415fdf31b6 100644
--- a/linux-user/uname.c
+++ b/linux-user/uname.c
@@ -21,7 +21,6 @@
#include "qemu.h"
#include "user-internals.h"
-//#include "qemu-common.h"
#include "uname.h"
/* return highest utsname machine name for emulated instruction set
@@ -41,7 +40,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"