>From 40263eeb47623b32b80e6933587e21e6498f655f Mon Sep 17 00:00:00 2001 From: Christian Kellermann Date: Wed, 23 Oct 2013 14:42:16 +0200 Subject: [PATCH 1/2] Don't rely on __MACH__ being MAC OS X when choosing the apply-hack This change enables compilation on the GNU/Hurd system which also defines __MACH__. Signed-off-by: Christian Kellermann --- runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime.c b/runtime.c index 58f8e07..24f8485 100644 --- a/runtime.c +++ b/runtime.c @@ -122,7 +122,7 @@ static C_TLS int timezone; #endif #ifdef C_HACKED_APPLY -# if defined(__MACH__) || defined(__MINGW32__) || defined(__CYGWIN__) +# if defined(C_MACOSX) || defined(__MINGW32__) || defined(__CYGWIN__) extern void C_do_apply_hack(void *proc, C_word *args, int count) C_noret; # else extern void _C_do_apply_hack(void *proc, C_word *args, int count) C_noret; -- 1.7.10.4