summaryrefslogtreecommitdiffstats
path: root/include/__locale
diff options
context:
space:
mode:
Diffstat (limited to 'include/__locale')
-rw-r--r--include/__locale5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/__locale b/include/__locale
index 3daa1f1b6..c5c078756 100644
--- a/include/__locale
+++ b/include/__locale
@@ -366,7 +366,12 @@ public:
static const mask alpha = _CTYPE_A;
static const mask digit = _CTYPE_D;
static const mask punct = _CTYPE_P;
+# if defined(__ANDROID__)
+ static const mask xdigit = _CTYPE_X | _CTYPE_D;
+# else
static const mask xdigit = _CTYPE_X;
+# endif
+
# if defined(__NetBSD__)
static const mask blank = _CTYPE_BL;
# else