summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.c')
-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