musl/include
Rich Felker 5edbc6fe13 add _DEFAULT_SOURCE feature profile as an alias for _BSD_SOURCE
as a result of commit ab8f6a6e42ff893041f7545a23e6d6a0edde07fb, this
definition is now equivalent to the actual "default profile" which
appears immediately below in features.h, and which defines both
_BSD_SOURCE and _XOPEN_SOURCE.

the intent of providing a _DEFAULT_SOURCE, which glibc also now
provides, is to give applications a way to "get back" the default
feature profile when it was lost either by compiler flags that inhibit
it (such as -std=c99) or by library-provided predefined macros (such
as -D_POSIX_C_SOURCE=200809L) which may inhibit exposure of features
that were otherwise visible by default and which the application may
need. without _DEFAULT_SOURCE, the application had encode knowledge of
a particular libc's defaults, and such knowledge was fragile and
subject to bitrot.

eventually the names _GNU_SOURCE and _BSD_SOURCE should be phased out
in favor of the more-descriptive and more-accurate _ALL_SOURCE and
_DEFAULT_SOURCE, leaving the old names as aliases but using the new
ones internally. however this is a more invasive change that would
require extensive regression testing, so it is deferred.
2014-09-10 12:47:55 -04:00
..
2011-06-09 21:47:24 -04:00
2013-07-03 18:07:50 +02:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2012-09-08 18:16:33 -04:00
2011-02-12 00:22:29 -05:00
2014-06-21 19:24:15 -04:00
2012-09-30 20:00:38 -04:00
2013-04-10 22:38:46 -04:00
2011-02-14 21:59:38 -05:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2013-11-29 12:45:09 -05:00
2011-04-13 15:24:26 -04:00
2012-12-26 16:55:49 -05:00
2014-08-13 16:55:56 +02:00
2011-02-12 00:22:29 -05:00
2013-07-22 13:05:41 -04:00
2014-07-31 02:38:23 -04:00
2011-04-05 15:40:36 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2014-01-08 19:36:29 -05:00
2014-01-08 19:36:29 -05:00
2013-01-04 20:36:34 +01:00