util-src/pposix.c
changeset 9284 927adf8648d3
parent 9282 d5c771097ea7
parent 9283 37b796cc366a
child 9285 778d2dbfc784
equal deleted inserted replaced
9282:d5c771097ea7 9284:927adf8648d3
    22 #endif
    22 #endif
    23 #else
    23 #else
    24 #ifndef _DEFAULT_SOURCE
    24 #ifndef _DEFAULT_SOURCE
    25 #define _DEFAULT_SOURCE
    25 #define _DEFAULT_SOURCE
    26 #endif
    26 #endif
       
    27 #endif
       
    28 #if defined(__APPLE__)
       
    29 #define _DARWIN_C_SOURCE
    27 #endif
    30 #endif
    28 #ifndef _POSIX_C_SOURCE
    31 #ifndef _POSIX_C_SOURCE
    29 #define _POSIX_C_SOURCE 200809L
    32 #define _POSIX_C_SOURCE 200809L
    30 #endif
    33 #endif
    31 
    34