From 20867136c2e82ccdef8568ae8fdffc011ba7ca10 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 5 May 2010 00:11:52 +0100 Subject: [PATCH] APPLE is unix, want it or not! --- packages/PLStream/pl-os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/PLStream/pl-os.c b/packages/PLStream/pl-os.c index d92088332..6c3a1c8c5 100755 --- a/packages/PLStream/pl-os.c +++ b/packages/PLStream/pl-os.c @@ -791,7 +791,7 @@ OsPath(const char *plpath, char *path) } #endif /* O_HPFS */ -#ifdef __unix__ +#if defined(__unix__) || defined(__APPLE__) char * PrologPath(const char *p, char *buf, size_t len) { strncpy(buf, p, len);