Skip to content

Commit aa53648

Browse files
committed
Copy vendor/llvm/default_assertion_handler.in to __assertion_handler
Our prevous `__assertion_handler` was copied from `libcxx/vendor/llvm/default_assertion_handler.in`. This updates out `__assertion_handler` to the new `libcxx/vendor/llvm/default_assertion_handler.in`. For what this file is, see the PR description of #22994, with which the file was added.
1 parent 59d082f commit aa53648

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

system/lib/libcxx/include/__assertion_handler

+7-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
#ifndef _LIBCPP___ASSERTION_HANDLER
1111
#define _LIBCPP___ASSERTION_HANDLER
1212

13-
#include <__config>
14-
#include <__verbose_abort>
13+
#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
14+
# include <__cxx03/__config>
15+
# include <__cxx03/__verbose_abort>
16+
#else
17+
# include <__config>
18+
# include <__verbose_abort>
19+
#endif
1520

1621
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
1722
# pragma GCC system_header

0 commit comments

Comments
 (0)