mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +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
|
||||
#if defined(__APPLE__)
|
||||
#ifndef _DARWIN_C_SOURCE
|
||||
#define _DARWIN_C_SOURCE
|
||||
#endif
|
||||
#endif
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue