Commit Graph

4 Commits

Author SHA1 Message Date
Rich Felker f929493c49 fix _ALL_SOURCE logic to avoid possible redefinition of _GNU_SOURCE
this could be an error if _GNU_SOURCE was already defined differently
by the application.
2014-09-10 12:40:38 -04:00
Rich Felker b3175f5c48 add _ALL_SOURCE as an alias for _GNU_SOURCE/enable-everything
reportedly this is a semi-common practice among some BSDs and a few
other systems, and will improve application compatibility.
2012-12-03 17:02:56 -05:00
Rich Felker c1a9658bd1 default features: make musl usable without feature test macros
the old behavior of exposing nothing except plain ISO C can be
obtained by defining __STRICT_ANSI__ or using a compiler option (such
as -std=c99) that predefines it. the new default featureset is POSIX
with XSI plus _BSD_SOURCE. any explicit feature test macros will
inhibit the default.

installation docs have also been updated to reflect this change.
2012-09-07 23:13:55 -04:00
Rich Felker 0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00