summary refs log tree commit diff stats
path: root/hw/display/pl110_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/pl110_template.h')
-rw-r--r--hw/display/pl110_template.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/display/pl110_template.h b/hw/display/pl110_template.h
index 877419aa81..0087785322 100644
--- a/hw/display/pl110_template.h
+++ b/hw/display/pl110_template.h
@@ -15,18 +15,18 @@
 
 #if ORDER == 0
 #define NAME glue(lblp_, BORDER)
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
 #define SWAP_WORDS 1
 #endif
 #elif ORDER == 1
 #define NAME glue(bbbp_, BORDER)
-#ifndef HOST_WORDS_BIGENDIAN
+#if !HOST_BIG_ENDIAN
 #define SWAP_WORDS 1
 #endif
 #else
 #define SWAP_PIXELS 1
 #define NAME glue(lbbp_, BORDER)
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
 #define SWAP_WORDS 1
 #endif
 #endif