[Scummvm-cvs-logs] CVS: scummvm main.cpp,1.21,1.22

Max Horn fingolfin at users.sourceforge.net
Tue May 14 12:52:03 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv6558

Modified Files:
	main.cpp 
Log Message:
fixed warning

Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/main.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- main.cpp	14 May 2002 11:32:16 -0000	1.21
+++ main.cpp	14 May 2002 19:51:52 -0000	1.22
@@ -55,9 +55,11 @@
 #if defined(UNIX) || defined(UNIX_X11)
 #include <signal.h>
 
+#ifndef SCUMM_NEED_ALIGNMENT
 static void handle_errors(int sig_num) {
 	error("Your system does not support unaligned memory accesses. Please rebuild with SCUMM_NEED_ALIGNMENT ");
 }
+#endif
 
 /* This function is here to test if the endianness / alignement compiled it is matching
    with the one at run-time. */





More information about the Scummvm-git-logs mailing list