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

llvm-svn: 221029
This commit is contained in:
Eric Fiselier 2014-11-01 00:41:42 +00:00
parent cd4872399a
commit 22b131ffdd
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