Remove a long-standing __has_include hack.
This was put in to get libc++ building without libcxxabi. We now have macros that show that we are building against libcxxabi so use that instead. This guards against existing but broken cxxabi.h headers on the system. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@250507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -13,12 +13,8 @@
|
||||
#include "string"
|
||||
#include "system_error"
|
||||
|
||||
#ifndef __has_include
|
||||
#define __has_include(inc) 0
|
||||
#endif
|
||||
|
||||
/* For _LIBCPPABI_VERSION */
|
||||
#if __has_include(<cxxabi.h>) || defined(__APPLE_) || defined(LIBCXXRT)
|
||||
#if defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE_) || defined(LIBCXXRT)
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user