summaryrefslogtreecommitdiffstats
path: root/9/sources/android/support/include/locale.h
diff options
context:
space:
mode:
Diffstat (limited to '9/sources/android/support/include/locale.h')
-rw-r--r--9/sources/android/support/include/locale.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/9/sources/android/support/include/locale.h b/9/sources/android/support/include/locale.h
index d7bd677..7dda229 100644
--- a/9/sources/android/support/include/locale.h
+++ b/9/sources/android/support/include/locale.h
@@ -36,6 +36,8 @@
#include <xlocale.h>
/* Define all LC_XXX to itself. Sounds silly but libc++ expects it's defined, not in enum */
+#include <android/api-level.h>
+#if __ANDROID_API__ < 19
#define LC_CTYPE LC_CTYPE
#define LC_NUMERIC LC_NUMERIC
#define LC_TIME LC_TIME
@@ -49,6 +51,7 @@
#define LC_TELEPHONE LC_TELEPHONE
#define LC_MEASUREMENT LC_MEASUREMENT
#define LC_IDENTIFICATION LC_IDENTIFICATION
+#endif
#ifdef __cplusplus
extern "C" {