Index: src/cxa_exception.cpp =================================================================== --- src/cxa_exception.cpp +++ src/cxa_exception.cpp @@ -11,6 +11,8 @@ // //===----------------------------------------------------------------------===// +#define _LIBCPP_BUILDING_LIBRARY + #include "cxxabi.h" #include // for std::terminate