aboutsummaryrefslogtreecommitdiff
path: root/hw/pl110_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl110_template.h')
-rw-r--r--hw/pl110_template.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/pl110_template.h b/hw/pl110_template.h
index d7ff8bc61c..b3c9077dcc 100644
--- a/hw/pl110_template.h
+++ b/hw/pl110_template.h
@@ -95,18 +95,18 @@ static drawfn glue(pl110_draw_fn_,BITS)[36] =
#if ORDER == 0
#define NAME glue(glue(lblp_, BORDER), BITS)
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
#define SWAP_WORDS 1
#endif
#elif ORDER == 1
#define NAME glue(glue(bbbp_, BORDER), BITS)
-#ifndef WORDS_BIGENDIAN
+#ifndef HOST_WORDS_BIGENDIAN
#define SWAP_WORDS 1
#endif
#else
#define SWAP_PIXELS 1
#define NAME glue(glue(lbbp_, BORDER), BITS)
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
#define SWAP_WORDS 1
#endif
#endif