diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:13:06 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:21 -0500 |
commit | e2542fe2bce6756948dffe2d233d154a9e25bd35 (patch) | |
tree | 187b840091116d420116fb2627e48afa25d59563 /console.c | |
parent | f0667e660720cf2aee4c58716a7a9337bc359a31 (diff) | |
download | qemu-e2542fe2bce6756948dffe2d233d154a9e25bd35.zip qemu-e2542fe2bce6756948dffe2d233d154a9e25bd35.tar.gz qemu-e2542fe2bce6756948dffe2d233d154a9e25bd35.tar.bz2 |
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -307,7 +307,7 @@ static void vga_bitblt(DisplayState *ds, int xs, int ys, int xd, int yd, int w, (((uint32_t)(__x) & (uint32_t)0x00ff0000UL) >> 8) | \ (((uint32_t)(__x) & (uint32_t)0xff000000UL) >> 24) )) -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN #define PAT(x) x #else #define PAT(x) cbswap_32(x) @@ -1559,7 +1559,7 @@ DisplaySurface* defaultallocator_create_displaysurface(int width, int height) surface->height = height; surface->linesize = width * 4; surface->pf = qemu_default_pixelformat(32); -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN surface->flags = QEMU_ALLOCATED_FLAG | QEMU_BIG_ENDIAN_FLAG; #else surface->flags = QEMU_ALLOCATED_FLAG; @@ -1580,7 +1580,7 @@ DisplaySurface* defaultallocator_resize_displaysurface(DisplaySurface *surface, surface->data = (uint8_t*) qemu_realloc(surface->data, surface->linesize * surface->height); else surface->data = (uint8_t*) qemu_malloc(surface->linesize * surface->height); -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN surface->flags = QEMU_ALLOCATED_FLAG | QEMU_BIG_ENDIAN_FLAG; #else surface->flags = QEMU_ALLOCATED_FLAG; @@ -1598,7 +1598,7 @@ DisplaySurface* qemu_create_displaysurface_from(int width, int height, int bpp, surface->height = height; surface->linesize = linesize; surface->pf = qemu_default_pixelformat(bpp); -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN surface->flags = QEMU_BIG_ENDIAN_FLAG; #endif surface->data = data; |