Index: include/libunwind.h =================================================================== --- include/libunwind.h +++ include/libunwind.h @@ -17,7 +17,7 @@ #include #include -#include <__cxxabi_config.h> +#include #ifdef __APPLE__ #include Index: include/libunwind_config.h =================================================================== --- include/libunwind_config.h +++ include/libunwind_config.h @@ -0,0 +1,20 @@ +//===-------------------------- libunwind_config.h -------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef ____LIBUNWIND_CONFIG_H +#define ____LIBUNWIND_CONFIG_H + +#if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \ + !defined(__ARM_DWARF_EH__) +#define LIBCXXABI_ARM_EHABI 1 +#else +#define LIBCXXABI_ARM_EHABI 0 +#endif + +#endif // ____LIBUNWIND_CONFIG_H Index: include/unwind.h =================================================================== --- include/unwind.h +++ include/unwind.h @@ -23,7 +23,7 @@ #define LIBUNWIND_UNAVAIL #endif -#include <__cxxabi_config.h> +#include typedef enum { _URC_NO_REASON = 0, Index: src/Unwind-EHABI.h =================================================================== --- src/Unwind-EHABI.h +++ src/Unwind-EHABI.h @@ -11,7 +11,7 @@ #ifndef __UNWIND_EHABI_H__ #define __UNWIND_EHABI_H__ -#include <__cxxabi_config.h> +#include #if LIBCXXABI_ARM_EHABI