aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxx/typeinfo.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-03-29 16:19:55 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-03-29 16:19:55 +0700
commitaa0108c75e4177b6db0705ce42998e92c6ac734f (patch)
treec0ec6d57dcb70dfaba808a8c74b8e892d712051b /system/lib/libcxx/typeinfo.cpp
parente3d12277cdbb3c47ddeacf1fa005f2964debefbb (diff)
Update to r178253 from March 29, 2013.
Diffstat (limited to 'system/lib/libcxx/typeinfo.cpp')
-rw-r--r--system/lib/libcxx/typeinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/lib/libcxx/typeinfo.cpp b/system/lib/libcxx/typeinfo.cpp
index 6bab0771..7b47d741 100644
--- a/system/lib/libcxx/typeinfo.cpp
+++ b/system/lib/libcxx/typeinfo.cpp
@@ -12,7 +12,7 @@
#define __has_include(inc) 0
#endif
-#if __APPLE__
+#ifdef __APPLE__
#include <cxxabi.h>
#elif defined(LIBCXXRT) || __has_include(<cxxabi.h>)
#include <cxxabi.h>
@@ -50,7 +50,7 @@ std::bad_typeid::what() const _NOEXCEPT
return "std::bad_typeid";
}
-#if __APPLE__
+#ifdef __APPLE__
// On Darwin, the cxa_bad_* functions cannot be in the lower level library
// because bad_cast and bad_typeid are defined in his higher level library
void __cxxabiv1::__cxa_bad_typeid() { throw std::bad_typeid(); }