mirror of
https://github.com/fluencelabs/musl
synced 2025-06-13 06:51:43 +00:00
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).
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user