mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f0667e6607
commit
e2542fe2bc
36 changed files with 82 additions and 82 deletions
4
sdl.c
4
sdl.c
|
@ -185,7 +185,7 @@ static DisplaySurface* sdl_create_displaysurface(int width, int height)
|
|||
surface->linesize = width * host_format.BytesPerPixel;
|
||||
surface->pf = sdl_to_qemu_pixelformat(&host_format);
|
||||
}
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#ifdef HOST_WORDS_BIGENDIAN
|
||||
surface->flags = QEMU_ALLOCATED_FLAG | QEMU_BIG_ENDIAN_FLAG;
|
||||
#else
|
||||
surface->flags = QEMU_ALLOCATED_FLAG;
|
||||
|
@ -204,7 +204,7 @@ static DisplaySurface* sdl_create_displaysurface(int width, int height)
|
|||
surface->linesize = real_screen->pitch;
|
||||
surface->data = real_screen->pixels;
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#ifdef HOST_WORDS_BIGENDIAN
|
||||
surface->flags = QEMU_REALPIXELS_FLAG | QEMU_BIG_ENDIAN_FLAG;
|
||||
#else
|
||||
surface->flags = QEMU_REALPIXELS_FLAG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue