Rich Felker 769fd4ce20 feature test macros: make _GNU_SOURCE enable everything
previously, a few BSD features were enabled only by _BSD_SOURCE, not
by _GNU_SOURCE. since _BSD_SOURCE is default in the absence of other
feature test macros, this made adding _GNU_SOURCE to a project not a
purely additive feature test macro; it actually caused some features
to be suppressed.

most of the changes made by this patch actually bring musl in closer
alignment with the glibc behavior for _GNU_SOURCE. the only exceptions
are the added visibility of functions like strlcpy which were BSD-only
due to being disliked/rejected by glibc maintainers. here, I feel the
consistency of having _GNU_SOURCE mean "everything", and especially
the property of it being purely additive, are more valuable than
hiding functions which glibc does not have.
2012-12-03 16:57:01 -05: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
2011-02-12 00:22:29 -05:00
2012-11-17 19:51:49 -05:00
2011-02-12 00:22:29 -05:00
2011-06-18 07:39:05 -04:00
2011-02-12 00:22:29 -05:00
2012-09-21 04:05:01 -04:00
2011-07-09 18:06:59 -04:00
2012-11-15 19:16:10 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-09-08 22:43:14 -04:00
2011-04-05 12:13:54 -04:00
2012-09-08 00:21:02 -04:00
2011-02-12 00:22:29 -05:00
2012-09-09 16:33:47 -04:00
2011-02-12 00:22:29 -05:00
2011-09-23 14:24:57 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-08-15 08:31:44 -04:00