summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-17 19:29:24 +0000
committertron <tron@openttd.org>2004-11-17 19:29:24 +0000
commit9dd7c284f0a91548dc80ea9145b0b58f6ddd2de7 (patch)
tree7ef4fec029b6d40089bec570f2a7fce2c8b7db53
parent31184f974e48ac1649ffbc079e60580d7c58767b (diff)
downloadopenttd-9dd7c284f0a91548dc80ea9145b0b58f6ddd2de7.tar.xz
(svn r664) Fix warning on MorphOS
-rw-r--r--sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index 596807a4b..21436023d 100644
--- a/sdl.c
+++ b/sdl.c
@@ -13,6 +13,8 @@
#include <signal.h>
#ifdef __MORPHOS__
+ // The system supplied definition of SIG_DFL is wrong on MorphOS
+ #undef SIG_DFL
#define SIG_DFL (void (*)(int))0
#endif
#endif