Software /
code /
prosody
Comparison
util-src/pposix.c @ 9282:778d2dbfc784
util.pposix: Allow _DARWIN_C_SOURCE to be overriden
Like the others there
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Sep 2018 11:52:44 +0200 |
parent | 9281:927adf8648d3 |
child | 9681:861d510e1876 |
child | 10410:659b577f280c |
comparison
equal
deleted
inserted
replaced
9281:927adf8648d3 | 9282:778d2dbfc784 |
---|---|
24 #ifndef _DEFAULT_SOURCE | 24 #ifndef _DEFAULT_SOURCE |
25 #define _DEFAULT_SOURCE | 25 #define _DEFAULT_SOURCE |
26 #endif | 26 #endif |
27 #endif | 27 #endif |
28 #if defined(__APPLE__) | 28 #if defined(__APPLE__) |
29 #ifndef _DARWIN_C_SOURCE | |
29 #define _DARWIN_C_SOURCE | 30 #define _DARWIN_C_SOURCE |
31 #endif | |
30 #endif | 32 #endif |
31 #ifndef _POSIX_C_SOURCE | 33 #ifndef _POSIX_C_SOURCE |
32 #define _POSIX_C_SOURCE 200809L | 34 #define _POSIX_C_SOURCE 200809L |
33 #endif | 35 #endif |
34 | 36 |