Partial fix for building w/ libcxxrt on OSX. Patch from C Bergstrom.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@221029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2014-11-01 00:41:42 +00:00
parent f53135f39b
commit 3be7f19317
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#define __has_include(inc) 0
#endif
#ifdef __APPLE__
#if defined(__APPLE__) && !defined(LIBCXXRT)
#include <cxxabi.h>
using namespace __cxxabiv1;

View File

@ -17,7 +17,7 @@
#define __has_include(inc) 0
#endif
#ifdef __APPLE__
#if defined(__APPLE__) && !defined(LIBCXXRT)
#include <cxxabi.h>
#ifndef _LIBCPPABI_VERSION