features.h: Define _DEFAULT_SOURCE when _GNU_SOURCE is defined.
As suggested by PulkoMandy. This was done before my commits yesterday, but those just reverted patches that had only been in since May, so it's not clear how much this is actually needed. Nonetheless it seems like the more correct thing to do.
This commit is contained in:
parent
573b7b1f21
commit
7ec1bedeed
@ -6,7 +6,7 @@
|
||||
#define _FEATURES_H
|
||||
|
||||
|
||||
#if defined(_BSD_SOURCE) \
|
||||
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) \
|
||||
|| (!defined(__STRICT_ANSI__) && !defined(_POSIX_C_SOURCE))
|
||||
#undef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user