mirror of
https://github.com/civetweb/civetweb
synced 2025-03-28 21:13:27 +00:00
Do not set XOPEN__SOURCE when USE_COCOA is set
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
parent
c62054609a
commit
d04bbfe89b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user