diff options
author | Marshall Clow <mclow@qualcomm.com> | 2013-03-18 17:45:34 +0000 |
---|---|---|
committer | Marshall Clow <mclow@qualcomm.com> | 2013-03-18 17:45:34 +0000 |
commit | b56e8587aff9d8766a673f51b2d9c525e1535d84 (patch) | |
tree | c4c634ec98a9e66df29d6d01254590677ba20b85 /libcxx/src/exception.cpp | |
parent | e8f1cf478bc7bd8d6e7088a6e4c97d32ae6002c6 (diff) | |
download | bcm5719-llvm-b56e8587aff9d8766a673f51b2d9c525e1535d84.tar.gz bcm5719-llvm-b56e8587aff9d8766a673f51b2d9c525e1535d84.zip |
Removed raw references to __APPLE__; now just check to see if it is defined.
llvm-svn: 177297
Diffstat (limited to 'libcxx/src/exception.cpp')
-rw-r--r-- | libcxx/src/exception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/exception.cpp b/libcxx/src/exception.cpp index 0cd182b716c..7db304d8c31 100644 --- a/libcxx/src/exception.cpp +++ b/libcxx/src/exception.cpp @@ -14,7 +14,7 @@ #define __has_include(inc) 0 #endif -#if __APPLE__ +#ifdef __APPLE__ #include <cxxabi.h> using namespace __cxxabiv1; @@ -102,7 +102,7 @@ terminate() _NOEXCEPT #if !defined(LIBCXXRT) && !defined(__GLIBCXX__) bool uncaught_exception() _NOEXCEPT { -#if __APPLE__ || defined(_LIBCPPABI_VERSION) +#if defined(__APPLE__) || defined(_LIBCPPABI_VERSION) // on Darwin, there is a helper function so __cxa_get_globals is private return __cxa_uncaught_exception(); #else // __APPLE__ |