summaryrefslogtreecommitdiff
path: root/target/mips/tcg/lmmi_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/tcg/lmmi_helper.c')
-rw-r--r--target/mips/tcg/lmmi_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/tcg/lmmi_helper.c b/target/mips/tcg/lmmi_helper.c
index abeb7736ae..2c8732525c 100644
--- a/target/mips/tcg/lmmi_helper.c
+++ b/target/mips/tcg/lmmi_helper.c
@@ -37,7 +37,7 @@ typedef union {
} LMIValue;
/* Some byte ordering issues can be mitigated by XORing in the following. */
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
# define BYTE_ORDER_XOR(N) N
#else
# define BYTE_ORDER_XOR(N) 0