[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.18,1.19

Max Horn fingolfin at users.sourceforge.net
Sun Apr 6 11:02:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv18991

Modified Files:
	scummsys.h 
Log Message:
nope, not all big endian system require alignment

Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- scummsys.h	13 Mar 2003 01:06:38 -0000	1.18
+++ scummsys.h	6 Apr 2003 18:01:36 -0000	1.19
@@ -101,9 +101,8 @@
 
 	#ifdef X11_BACKEND
 
-	/* You need to set those manually */
+	// You need to set this manually if necessary
 //	#define SCUMM_LITTLE_ENDIAN
-	/* #define SCUMM_NEED_ALIGNMENT */
 	
 	#else
 	/* need this for the SDL_BYTEORDER define */
@@ -113,11 +112,13 @@
 	#define SCUMM_LITTLE_ENDIAN
 	#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
 	#define SCUMM_BIG_ENDIAN
-	#define SCUMM_NEED_ALIGNMENT
 	#else
 	#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
 	#endif
 	#endif
+
+	// You need to set this manually if necessary
+//	#define SCUMM_NEED_ALIGNMENT
 
 	#define FORCEINLINE inline
 	#define CDECL 





More information about the Scummvm-git-logs mailing list