forked from OSchip/llvm-project
[libcxx] Omit unneeded locale fallbacks on Android 21+
Android API level 21 and above have all these functions available, so we don't need to include our fallback definitions. Differential Revision: https://reviews.llvm.org/D69983
This commit is contained in:
parent
6a7f6145d0
commit
d018b556c7
|
@ -27,7 +27,9 @@ extern "C" {
|
|||
|
||||
#include <android/api-level.h>
|
||||
#include <android/ndk-version.h>
|
||||
#if __ANDROID_API__ < 21
|
||||
#include <support/xlocale/__posix_l_fallback.h>
|
||||
#endif
|
||||
// In NDK versions later than 16, locale-aware functions are provided by
|
||||
// legacy_stdlib_inlines.h
|
||||
#if __NDK_MAJOR__ <= 16
|
||||
|
|
Loading…
Reference in New Issue