[libcxx-commits] [PATCH] D69983: [libcxx] Omit unneeded locale fallbacks on Android 21+

Shoaib Meenai via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 25 11:13:34 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd018b556c755: [libcxx] Omit unneeded locale fallbacks on Android 21+ (authored by smeenai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69983/new/

https://reviews.llvm.org/D69983

Files:
  libcxx/include/support/android/locale_bionic.h


Index: libcxx/include/support/android/locale_bionic.h
===================================================================
--- libcxx/include/support/android/locale_bionic.h
+++ libcxx/include/support/android/locale_bionic.h
@@ -27,7 +27,9 @@
 
 #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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69983.230943.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191125/60c5d00c/attachment-0001.bin>


More information about the libcxx-commits mailing list