]> skyeroc.xyz Git - dgamelaunch/commitdiff
typedef sighandler_t to fix compile on Mac. From Darshan Shaligram
authorPasi Kallinen <paxed@alt.org>
Tue, 2 Mar 2010 17:19:43 +0000 (17:19 +0000)
committerPasi Kallinen <paxed@alt.org>
Tue, 2 Mar 2010 17:19:43 +0000 (17:19 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@528 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

ttyplay.c

index b47cec054ac7736fcf229831b235d45b9a170654..e13e169ad9675618bd525b2b1c67007b4432b5cf 100644 (file)
--- a/ttyplay.c
+++ b/ttyplay.c
 #include "io.h"
 #include "stripgfx.h"
 
+#ifdef __MACH__
+typedef void (*sighandler_t)(int);
+#endif
+
 int stripped = NO_GRAPHICS;
 static int got_sigwinch = 0;