locale_bionic.h 785 B

12345678910111213141516171819202122232425262728293031
  1. // -*- C++ -*-
  2. //===------------------- support/android/locale_bionic.h ------------------===//
  3. //
  4. // The LLVM Compiler Infrastructure
  5. //
  6. // This file is dual licensed under the MIT and the University of Illinois Open
  7. // Source Licenses. See LICENSE.TXT for details.
  8. //
  9. //===----------------------------------------------------------------------===//
  10. #ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
  11. #define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
  12. #if defined(__ANDROID__)
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #include <stdlib.h>
  17. #include <xlocale.h>
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #include <support/xlocale/__posix_l_fallback.h>
  22. #include <support/xlocale/__strtonum_fallback.h>
  23. #endif // defined(__ANDROID__)
  24. #endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H