|
@@ -41,7 +41,7 @@
|
|
|
#pragma GCC diagnostic push
|
|
|
#pragma GCC diagnostic ignored "-Wreserved-id-macro"
|
|
|
#endif
|
|
|
-#if !defined(_XOPEN_SOURCE)
|
|
|
+#if !defined(_XOPEN_SOURCE) && !defined(USE_COCOA)
|
|
|
#define _XOPEN_SOURCE 600 /* For PATH_MAX on linux */
|
|
|
/* This should also be sufficient for "realpath", according to
|
|
|
* http://man7.org/linux/man-pages/man3/realpath.3.html, but in
|