features.h: undef before define
Change-Id: Iba98e3a8352801345acefe963917471992f70281 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3606 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -8,11 +8,13 @@
|
||||
|
||||
#if defined(_BSD_SOURCE) \
|
||||
|| (!defined(__STRICT_ANSI__) && !defined(_POSIX_C_SOURCE))
|
||||
#undef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||
#undef _ISOC11_SOURCE
|
||||
#define _ISOC11_SOURCE
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user