Make __get_locale() static inline, not just inline, so when compiling libc in
debug mode (without optimisations) it doesn't generate a linker failure. Approved by: dim (mentor)
This commit is contained in:
parent
fc6e32fb62
commit
5a674eeb8f
@ -191,7 +191,7 @@ extern _Thread_local locale_t __thread_locale;
|
||||
* this call is not guaranteed to remain valid after the locale changes. As
|
||||
* such, this should only be called within libc functions.
|
||||
*/
|
||||
inline locale_t __get_locale(void)
|
||||
static inline locale_t __get_locale(void)
|
||||
{
|
||||
|
||||
if (!__has_thread_locale) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user