mirror of
https://github.com/fluencelabs/musl
synced 2025-07-01 15:42:05 +00:00
add multiple inclusion guard to locale_impl.h
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
#ifndef _LOCALE_IMPL_H
|
||||
#define _LOCALE_IMPL_H
|
||||
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
#include "libc.h"
|
||||
@ -30,3 +33,5 @@ const char *__lctrans_cur(const char *);
|
||||
#define CURRENT_LOCALE (__pthread_self()->locale)
|
||||
|
||||
#define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user