mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
util.pposix: Allow _DARWIN_C_SOURCE to be overriden
Like the others there
This commit is contained in:
parent
53b9150562
commit
2f939029ef
1 changed files with 2 additions and 0 deletions
|
@ -26,8 +26,10 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
#ifndef _DARWIN_C_SOURCE
|
||||||
#define _DARWIN_C_SOURCE
|
#define _DARWIN_C_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifndef _POSIX_C_SOURCE
|
#ifndef _POSIX_C_SOURCE
|
||||||
#define _POSIX_C_SOURCE 200809L
|
#define _POSIX_C_SOURCE 200809L
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue