fixed warning
svn-id: r4323
This commit is contained in:
parent
65f373535e
commit
b90edd85d6
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue