Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions libcxx/include/__new/align_val_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
# pragma GCC system_header
#endif

// <vcruntime_exception.h> defines its own std::align_val_t type,
// which we use in order to be ABI-compatible with other STLs on Windows.
#if _LIBCPP_HAS_LIBRARY_ALIGNED_ALLOCATION && defined(_LIBCPP_ABI_VCRUNTIME)
# include <vcruntime_new.h>
#endif

_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD
#if _LIBCPP_HAS_LIBRARY_ALIGNED_ALLOCATION && !defined(_LIBCPP_ABI_VCRUNTIME)
# ifndef _LIBCPP_CXX03_LANG
Expand Down
6 changes: 6 additions & 0 deletions libcxx/include/__new/exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# pragma GCC system_header
#endif

// <vcruntime_exception.h> defines its own std::bad_alloc type,
// which we use in order to be ABI-compatible with other STLs on Windows.
#if defined(_LIBCPP_ABI_VCRUNTIME)
# include <vcruntime_exception.h>
#endif

_LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD
#if !defined(_LIBCPP_ABI_VCRUNTIME)

Expand Down
Loading