mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
libc: Reorder LC_XXX as Linux
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
ae3709819c
commit
f181ed6fd2
+7
-7
@@ -32,13 +32,13 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define LC_ALL 0
|
#define LC_CTYPE 0
|
||||||
#define LC_COLLATE 1
|
#define LC_NUMERIC 1
|
||||||
#define LC_CTYPE 2
|
#define LC_TIME 2
|
||||||
#define LC_MONETARY 3
|
#define LC_COLLATE 3
|
||||||
#define LC_NUMERIC 4
|
#define LC_MONETARY 4
|
||||||
#define LC_TIME 5
|
#define LC_MESSAGES 5
|
||||||
#define LC_MESSAGES 6
|
#define LC_ALL 6
|
||||||
|
|
||||||
#define LC_COLLATE_MASK (1 << LC_COLLATE)
|
#define LC_COLLATE_MASK (1 << LC_COLLATE)
|
||||||
#define LC_CTYPE_MASK (1 << LC_CTYPE)
|
#define LC_CTYPE_MASK (1 << LC_CTYPE)
|
||||||
|
|||||||
Reference in New Issue
Block a user