From 14671c56a6f1aed78d15082d3ca28740c90d60a6 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 16 Feb 2009 20:48:49 +0000 Subject: [PATCH] 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 --- gfx2.cfg | Bin 10132 -> 10082 bytes init.c | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx2.cfg b/gfx2.cfg index 247bc158da52cdeae11498b7e7f3f0e81a89390f..ab6e8d4ebcaf71bba1f4a1ae2b4c7bb9b45228f1 100644 GIT binary patch delta 14 VcmbQ@|HyBHJ~N}p<|Jk#6#yvF1bF}e delta 64 zcmaFlH^qO0KC`hK1H%eN0Y-)cj2{>n9)Ji2CI&_z!2u!^Ktuy0g98&#A^=1rFn!o; Iz-*)f0Mn}tVE_OC diff --git a/init.c b/init.c index 6249931a..b1d315b7 100644 --- a/init.c +++ b/init.c @@ -50,7 +50,9 @@ #endif #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 #include "const.h"