APPLE is unix, want it or not!
This commit is contained in:
parent
ea47bd124c
commit
20867136c2
@ -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);
|
||||||
|
Reference in New Issue
Block a user