From 407b94d5b6911d4462a9be8fcf6c616cd289da41 Mon Sep 17 00:00:00 2001 From: pmoura Date: Mon, 31 Mar 2008 19:51:07 +0000 Subject: [PATCH] Recognize Apple's MacOS X as a Unix system (this sets the flag "unix" to "true" when ruuning under MacOS X). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2175 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/sysbits.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C/sysbits.c b/C/sysbits.c index 55ef3c7bf..81fa48785 100644 --- a/C/sysbits.c +++ b/C/sysbits.c @@ -2643,10 +2643,14 @@ p_unix(void) #else #ifdef __unix__ return TRUE; +#else +#ifdef __APPLE__ + return TRUE; #else return FALSE; #endif #endif +#endif } static Int