APPLE is unix, want it or not!

This commit is contained in:
Vitor Santos Costa 2010-05-05 00:11:52 +01:00
parent ea47bd124c
commit 20867136c2

View File

@ -791,7 +791,7 @@ OsPath(const char *plpath, char *path)
} }
#endif /* O_HPFS */ #endif /* O_HPFS */
#ifdef __unix__ #if defined(__unix__) || defined(__APPLE__)
char * char *
PrologPath(const char *p, char *buf, size_t len) PrologPath(const char *p, char *buf, size_t len)
{ strncpy(buf, p, len); { strncpy(buf, p, len);