~ chicken-core (chicken-5) 4d1d39a051ffb37924fd995471ac6469c9d1d834
commit 4d1d39a051ffb37924fd995471ac6469c9d1d834 Author: Christian Kellermann <ckeen@pestilenz.org> AuthorDate: Wed Oct 23 14:42:16 2013 +0200 Commit: Peter Bex <peter.bex@xs4all.nl> CommitDate: Fri Nov 8 15:39:08 2013 +0100 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 <ckeen@pestilenz.org> Signed-off-by: Peter Bex <peter.bex@xs4all.nl> diff --git a/runtime.c b/runtime.c index 9b118c62..ed7bab3f 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;Trap