Defining _SVID_SOURCE or _BSD_SOURCE has been deprecated in modern glibc
versions and doing so will produce a warning:
/usr/include/features.h: warning:
warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Normally, these should be replaced with _DEFAULT_SOURCE, but for backwards
compatibility, the warning is not emitted when _DEFAULT_SOURCE is defined in
addition to the deprecated macros, so the pattern these days is to define all
three macros.
Defining _SVID_SOURCE or _BSD_SOURCE has been deprecated in modern glibc versions and doing so will produce a warning:
/usr/include/features.h: warning:
warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Normally, these should be replaced with _DEFAULT_SOURCE, but for backwards compatibility, the warning is not emitted when _DEFAULT_SOURCE is defined in addition to the deprecated macros, so the pattern these days is to define all three macros.