diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-02 18:14:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-02 18:14:44 -0400 |
commit | 2e5dfa515f78f5a67eb0cd7e323ab6f3ed76c15d (patch) | |
tree | 4e816a3068b164bd62551f58b175e76b96c7720a /include/locale.h | |
parent | 0c7294ef30544f825430a3692c717f6f470974fe (diff) | |
download | musl-2e5dfa515f78f5a67eb0cd7e323ab6f3ed76c15d.tar.gz |
fix feature test macro logic for _BSD_SOURCE
in several places, _BSD_SOURCE was not even implying POSIX, resulting
in it being subtractive rather than additive (compared to the default
features).
Diffstat (limited to 'include/locale.h')
-rw-r--r-- | include/locale.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/locale.h b/include/locale.h index f6a29b2a..7e80fd93 100644 --- a/include/locale.h +++ b/include/locale.h @@ -51,7 +51,7 @@ struct lconv *localeconv(void); #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ - || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define __NEED_locale_t |