summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-05-31 23:41:26 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-06-01 13:19:52 +0200
commit526747a2bf6193f784a578b0b97cffaccb44e3df (patch)
treee4bed4cd35872550e94a3d8d4e3dd7f633919997 /libc/string
parent228f76d4dfe9a8a9b50e4c5ac8161a991fc8107c (diff)
include/features.h: add _DEFAULT_SOURCE macro
man feature_test_macros(7) specifies that _BSD_SOURCE and _SVID_SOURCE have been deprecated in favor of _DEFAULT_SOURCE since libc 2.20. Specifying either of the former is now equivalent to specifying just the latter. We add this macro to conform to this standard, but do not add the compiler warning to maintain full backwards compatibility with earlier version of glibc and uclibc. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'libc/string')
0 files changed, 0 insertions, 0 deletions