提交 32f3c4f7 编写于 作者: R Rich Felker

add multiple inclusion guard to locale_impl.h

上级 04b8360a
#ifndef _LOCALE_IMPL_H
#define _LOCALE_IMPL_H
#include <locale.h> #include <locale.h>
#include <stdlib.h> #include <stdlib.h>
#include "libc.h" #include "libc.h"
...@@ -30,3 +33,5 @@ const char *__lctrans_cur(const char *); ...@@ -30,3 +33,5 @@ const char *__lctrans_cur(const char *);
#define CURRENT_LOCALE (__pthread_self()->locale) #define CURRENT_LOCALE (__pthread_self()->locale)
#define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE]) #define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册