summaryrefslogtreecommitdiffstats
path: root/include/__locale
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2013-03-18 17:45:34 +0000
committerMarshall Clow <mclow@qualcomm.com>2013-03-18 17:45:34 +0000
commitdece7fe6706591d80e4694a986446f756611733c (patch)
tree95acecd203832272b935f47ddee4c5a4ccc3a452 /include/__locale
parenta22d2addb1287a7642bfcb211ae2cb21890d1cbd (diff)
downloadexternal_libcxx-dece7fe6706591d80e4694a986446f756611733c.tar.gz
external_libcxx-dece7fe6706591d80e4694a986446f756611733c.tar.bz2
external_libcxx-dece7fe6706591d80e4694a986446f756611733c.zip
Removed raw references to __APPLE__; now just check to see if it is defined.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__locale')
-rw-r--r--include/__locale2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__locale b/include/__locale
index 1c093f69a..6f6a97b99 100644
--- a/include/__locale
+++ b/include/__locale
@@ -21,7 +21,7 @@
#include <locale.h>
#ifdef _WIN32
# include <support/win32/locale_win32.h>
-#elif (__GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__)
+#elif (__GLIBC__ || defined(__APPLE__) || __FreeBSD__ || __sun__)
# include <xlocale.h>
#endif // _WIN32 || __GLIBC__ || __APPLE__ || __FreeBSD_