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:
parent
f53135f39b
commit
3be7f19317
@ -16,7 +16,7 @@
|
|||||||
#define __has_include(inc) 0
|
#define __has_include(inc) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined(__APPLE__) && !defined(LIBCXXRT)
|
||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
|
|
||||||
using namespace __cxxabiv1;
|
using namespace __cxxabiv1;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#define __has_include(inc) 0
|
#define __has_include(inc) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined(__APPLE__) && !defined(LIBCXXRT)
|
||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
|
|
||||||
#ifndef _LIBCPPABI_VERSION
|
#ifndef _LIBCPPABI_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user