mirror of
https://github.com/janet-lang/janet
synced 2025-10-06 19:42:29 +00:00
Manually declare chroot on macos.
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
#include <crt_externs.h>
|
||||
#define environ (*_NSGetEnviron())
|
||||
#include <AvailabilityMacros.h>
|
||||
int chroot(const char *dirname);
|
||||
#else
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user