summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-21 10:44:57 +0000
committertron <tron@openttd.org>2005-08-21 10:44:57 +0000
commitc7a6af38fe7d3a19b3d772d2244b1076b5526dfc (patch)
tree658a8bba83a433752f0921d9e9d978c6da8f78a3 /unix.c
parent40cfcea3a0dffb5f8739823aaf5b5c839ac25139 (diff)
downloadopenttd-c7a6af38fe7d3a19b3d772d2244b1076b5526dfc.tar.xz
(svn r2882) Some fixes for MorphOS (by tokai)
- Don't track dependencies on system headers - Add an include path - Silence a warning regarding a bad signal prototype - Remove executable flag from pictures - Add proper OTTD icon
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index ee478fbcc..16c79988d 100644
--- a/unix.c
+++ b/unix.c
@@ -31,6 +31,10 @@
#ifdef __MORPHOS__
#include <exec/types.h>
ULONG __stack = (1024*1024)*2; // maybe not that much is needed actually ;)
+
+// The system supplied definition of SIG_IGN does not match
+#undef SIG_IGN
+#define SIG_IGN (void (*)(int))1
#endif /* __MORPHOS__ */
#ifdef __AMIGA__