summaryrefslogtreecommitdiff
path: root/chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h')
-rw-r--r--chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h b/chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h
new file mode 100644
index 00000000000..3a020da67e6
--- /dev/null
+++ b/chromium/buildtools/third_party/libc++/trunk/include/support/android/locale_bionic.h
@@ -0,0 +1,31 @@
+// -*- C++ -*-
+//===------------------- support/android/locale_bionic.h ------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
+#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
+
+#if defined(__ANDROID__)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdlib.h>
+#include <xlocale.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+// Share implementation with Newlib
+#include <support/xlocale/xlocale.h>
+
+#endif // defined(__ANDROID__)
+#endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H