From decf7d0ad9719948eacc0a845f37463dd1afa49b Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 28 Jul 2021 14:28:34 +0800 Subject: [PATCH] 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 --- include/locale.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/locale.h b/include/locale.h index 591f064f65..2abef76235 100644 --- a/include/locale.h +++ b/include/locale.h @@ -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 ****************************************************************************/