Fixes build under linux. Isn't there a standard type for sighandler, working on all platforms ? this __p_sig_fn_t doesn't seem to exist on any unix...

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@634 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2009-02-16 20:48:49 +00:00
parent 9f64588b04
commit 14671c56a6
2 changed files with 3 additions and 1 deletions

BIN
gfx2.cfg

Binary file not shown.

4
init.c
View File

@ -50,7 +50,9 @@
#endif #endif
#if defined(__macosx__) #if defined(__macosx__)
#define __p_sig_fn_t sig_t #define __p_sig_fn_t sig_t
#elif defined(__linux__)
#define __p_sig_fn_t sighandler_t
#endif #endif
#include "const.h" #include "const.h"