summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-09-19 18:00:45 +0000
committerDan Albert <danalbert@google.com>2016-09-19 18:00:45 +0000
commitc991709f460218e493eef36e8792865dac0a6461 (patch)
treef0a7fb2bfcd2a15c93e64f2135086b132c4b6729 /libcxx/include/support
parentcc83c66ee9e5137d43039cbed3cc2f56fe407adc (diff)
downloadbcm5719-llvm-c991709f460218e493eef36e8792865dac0a6461.tar.gz
bcm5719-llvm-c991709f460218e493eef36e8792865dac0a6461.zip
Replace __ANDROID__ with __BIONIC__.
Summary: None of these checks are specific to Android devices. If libc++ was used with Bionic on a normal Linux system these checks would still be needed. Reviewers: mclow.lists, EricWF Subscribers: compnerd, tberghammer, danalbert, srhines, cfe-commits Differential Revision: https://reviews.llvm.org/D24690 llvm-svn: 281921
Diffstat (limited to 'libcxx/include/support')
-rw-r--r--libcxx/include/support/android/locale_bionic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/support/android/locale_bionic.h b/libcxx/include/support/android/locale_bionic.h
index 1365563ee48..482e2343358 100644
--- a/libcxx/include/support/android/locale_bionic.h
+++ b/libcxx/include/support/android/locale_bionic.h
@@ -11,7 +11,7 @@
#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
-#if defined(__ANDROID__)
+#if defined(__BIONIC__)
#ifdef __cplusplus
extern "C" {
@@ -27,5 +27,5 @@ extern "C" {
#include <support/xlocale/__posix_l_fallback.h>
#include <support/xlocale/__strtonum_fallback.h>
-#endif // defined(__ANDROID__)
+#endif // defined(__BIONIC__)
#endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
OpenPOWER on IntegriCloud