locale: Add LC_GLOBAL_LOCALE which is specified by the standard

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-07-28 14:28:34 +08:00 committed by Gustavo Henrique Nihei
parent b64e9050c4
commit decf7d0ad9

View File

@ -51,6 +51,8 @@
LC_MONETARY_MASK | LC_NUMERIC_MASK | \
LC_TIME_MASK | LC_MESSAGES_MASK)
#define LC_GLOBAL_LOCALE ((locale_t)-1)
/****************************************************************************
* Public Type Definitions
****************************************************************************/