From: Pasi Kallinen Date: Tue, 2 Mar 2010 17:19:43 +0000 (+0000) Subject: typedef sighandler_t to fix compile on Mac. From Darshan Shaligram X-Git-Tag: v1.6.1-roc-dev~181 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=2c35a5ceeebf5f33e5ef7b7ed1265c495af6fa75;p=dgamelaunch typedef sighandler_t to fix compile on Mac. From Darshan Shaligram git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@528 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/ttyplay.c b/ttyplay.c index b47cec0..e13e169 100644 --- a/ttyplay.c +++ b/ttyplay.c @@ -58,6 +58,10 @@ #include "io.h" #include "stripgfx.h" +#ifdef __MACH__ +typedef void (*sighandler_t)(int); +#endif + int stripped = NO_GRAPHICS; static int got_sigwinch = 0;