aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMax Horn2002-05-14 19:51:52 +0000
committerMax Horn2002-05-14 19:51:52 +0000
commitb90edd85d6c104cb2b837a3101f77322f8b30405 (patch)
tree397f9d19edb91302ccc9056ae92ec8007f707603 /main.cpp
parent65f373535ee32644dc332735e9c2f3cf110a0b72 (diff)
downloadscummvm-rg350-b90edd85d6c104cb2b837a3101f77322f8b30405.tar.gz
scummvm-rg350-b90edd85d6c104cb2b837a3101f77322f8b30405.tar.bz2
scummvm-rg350-b90edd85d6c104cb2b837a3101f77322f8b30405.zip
fixed warning
svn-id: r4323
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 864d2fa037..4f85ad6660 100644
--- a/main.cpp
+++ b/main.cpp
@@ -55,9 +55,11 @@ Config * scummcfg;
#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. */