mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
fix compilation
This commit is contained in:
parent
30a62b7b24
commit
929b13790b
3
Makefile
3
Makefile
@ -1,8 +1,7 @@
|
||||
CXX = g++
|
||||
CXXFLAGS = -g -W -Wall -Ilua/include `sdl-config --cflags` # -O2
|
||||
CXXFLAGS = -g -W -Wall -Ilua/include `sdl-config --cflags` -DUNIX # -O2
|
||||
LDFLAGS = -g -W -Wall # -O2
|
||||
LIBS = -lSDL -lGL -lGLU -Llua/lib -llua -llualib `sdl-config --libs`
|
||||
|
||||
OBJS = main.o lab.o bitmap.o model.o resource.o material.o debug.o \
|
||||
textsplit.o lua.o registry.o localize.o scene.o engine.o actor.o \
|
||||
sound.o mixer.o keyframe.o costume.o walkplane.o textobject.o \
|
||||
|
6
bits.h
6
bits.h
@ -96,16 +96,16 @@
|
||||
#ifdef X11_BACKEND
|
||||
|
||||
// You need to set this manually if necessary
|
||||
// #define SCUMM_LITTLE_ENDIAN
|
||||
// #define SYSTEM_LITTLE_ENDIAN
|
||||
|
||||
#else
|
||||
/* need this for the SDL_BYTEORDER define */
|
||||
#include <SDL_byteorder.h>
|
||||
|
||||
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
|
||||
#define SCUMM_LITTLE_ENDIAN
|
||||
#define SYSTEM_LITTLE_ENDIAN
|
||||
#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
#define SCUMM_BIG_ENDIAN
|
||||
#define SYSTEM_BIG_ENDIAN
|
||||
#else
|
||||
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user