aboutsummaryrefslogtreecommitdiff
path: root/scummsys.h
diff options
context:
space:
mode:
authorLionel Ulmer2002-04-20 17:41:42 +0000
committerLionel Ulmer2002-04-20 17:41:42 +0000
commitc673d1c760b43e7e011c0eaffd6028390a860438 (patch)
treec40a4d07b2927a9e75ad4326f9e4d6f4720f81ce /scummsys.h
parent32d69e8c020271bfa6a3f3ab65aa9f17cc441d81 (diff)
downloadscummvm-rg350-c673d1c760b43e7e011c0eaffd6028390a860438.tar.gz
scummvm-rg350-c673d1c760b43e7e011c0eaffd6028390a860438.tar.bz2
scummvm-rg350-c673d1c760b43e7e011c0eaffd6028390a860438.zip
Commit of the X11 driver using the new OSystem interface. Plus some warning fixes and gameDetector hacks.
svn-id: r4024
Diffstat (limited to 'scummsys.h')
-rw-r--r--scummsys.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/scummsys.h b/scummsys.h
index e19957555f..c095c7295c 100644
--- a/scummsys.h
+++ b/scummsys.h
@@ -102,12 +102,19 @@ typedef signed long int32;
#define START_PACK_STRUCTS pack (push,1)
#define END_PACK_STRUCTS pack(pop)
-#elif (defined(UNIX) || defined(__APPLE__))
+#elif (defined(UNIX) || defined(__APPLE__) || defined(UNIX_X11))
#define scumm_stricmp strcasecmp
#define CHECK_HEAP
+#ifdef UNIX_X11
+
+/* You need to set those manually */
+#define SCUMM_LITTLE_ENDIAN
+/* #define SCUMM_NEED_ALIGNMENT */
+
+#else
/* need this for the SDL_BYTEORDER define */
#include <SDL_byteorder.h>
@@ -119,6 +126,7 @@ typedef signed long int32;
#else
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
#endif
+#endif
#define FORCEINLINE inline
#define CDECL