util.pposix: Allow _DARWIN_C_SOURCE to be overriden

Like the others there
This commit is contained in:
Kim Alvefur 2018-09-08 11:52:44 +02:00
parent 53b9150562
commit 2f939029ef

View file

@ -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