mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
remove dependency on SDL_byteorder.h when we are using config.h
svn-id: r13206
This commit is contained in:
parent
452a3e2a10
commit
a672590259
@ -106,22 +106,24 @@
|
||||
|
||||
#define CHECK_HEAP
|
||||
|
||||
#ifdef X11_BACKEND
|
||||
|
||||
// You need to set this manually if necessary
|
||||
// #define SCUMM_LITTLE_ENDIAN
|
||||
#ifndef CONFIG_H
|
||||
#ifdef X11_BACKEND
|
||||
|
||||
#else
|
||||
/* need this for the SDL_BYTEORDER define */
|
||||
#include <SDL_byteorder.h>
|
||||
|
||||
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
|
||||
#define SCUMM_LITTLE_ENDIAN
|
||||
#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
#define SCUMM_BIG_ENDIAN
|
||||
#else
|
||||
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
|
||||
#endif
|
||||
// You need to set this manually if necessary
|
||||
// #define SCUMM_LITTLE_ENDIAN
|
||||
|
||||
#else
|
||||
/* need this for the SDL_BYTEORDER define */
|
||||
#include <SDL_byteorder.h>
|
||||
|
||||
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
|
||||
#define SCUMM_LITTLE_ENDIAN
|
||||
#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
#define SCUMM_BIG_ENDIAN
|
||||
#else
|
||||
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// You need to set this manually if necessary
|
||||
|
Loading…
Reference in New Issue
Block a user