Add support for BIONIC C library (Android). Patch from Dan Albert

Change-Id: I9ead4d8a1d16e71d57fdc7696457cfcc3de4f713
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@212724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2014-07-10 15:20:28 +00:00
committed by Dan Albert
parent 3bfb9441d6
commit e45cf3e8b5
5 changed files with 184 additions and 59 deletions

View File

@@ -30,11 +30,9 @@
#include "__sso_allocator"
#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
#include <support/win32/locale_win32.h>
#elif defined(__ANDROID__)
#include <support/android/langinfo.h>
#else // _LIBCPP_MSVCRT
#elif !defined(__ANDROID__)
#include <langinfo.h>
#endif // !_LIBCPP_MSVCRT
#endif
#include <stdlib.h>
#include <stdio.h>