]> git.proxmox.com Git - qemu.git/blobdiff - hw/omap_lcd_template.h
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
[qemu.git] / hw / omap_lcd_template.h
index 0590e450109ee18e6cee9977399354a2eb0a2817..2fb96f83ae61766c9aed6e5f9c6b15d247464856 100644 (file)
@@ -152,7 +152,7 @@ static void glue(draw_line12_, DEPTH)(void *opaque,
 static void glue(draw_line16_, DEPTH)(void *opaque,
                 uint8_t *d, const uint8_t *s, int width, int deststep)
 {
-#if DEPTH == 16 && defined(WORDS_BIGENDIAN) == defined(TARGET_WORDS_BIGENDIAN)
+#if DEPTH == 16 && defined(HOST_WORDS_BIGENDIAN) == defined(TARGET_WORDS_BIGENDIAN)
     memcpy(d, s, width * 2);
 #else
     uint16_t v;