1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#define _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
10#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
11
12#include <__config>
13
14#if defined(_LIBCPP_ABI_MICROSOFT)
15# include "support/runtime/exception_msvc.ipp"
16# include "support/runtime/exception_pointer_msvc.ipp"
17#elif defined(LIBCXX_BUILDING_LIBCXXABI)
18# include "support/runtime/exception_libcxxabi.ipp"
19# include "support/runtime/exception_pointer_cxxabi.ipp"
20#elif defined(LIBCXXRT)
21# include "support/runtime/exception_libcxxrt.ipp"
22# include "support/runtime/exception_pointer_cxxabi.ipp"
23#elif defined(__GLIBCXX__)
24# include "support/runtime/exception_glibcxx.ipp"
25# include "support/runtime/exception_pointer_glibcxx.ipp"
26#else
27# include "include/atomic_support.h"
28# include "support/runtime/exception_fallback.ipp"
29# include "support/runtime/exception_pointer_unimplemented.ipp"
30#endif
31