Make std::pair trivial

This commit is contained in:
Justine Tunney 2024-01-09 09:51:59 -08:00
parent 5d80e8dbf6
commit fd75fd1467
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 74 additions and 2 deletions

View file

@ -15,9 +15,9 @@
#define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_HAS_TRIVIAL_MUTEX_DESTRUCTION
#define _LIBCPP_HAS_TRIVIAL_CONDVAR_DESTRUCTION
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
#define _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
#if defined(_MSC_VER) && !defined(__clang__)
# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
@ -1428,7 +1428,7 @@ extern "C" _LIBCPP_FUNC_VIS void __sanitizer_annotate_contiguous_container(
//
// Not all platforms support this, but it helps avoid fd-leaks on platforms that
// do.
#if defined(__BIONIC__)
#if defined(__BIONIC__) || defined(__COSMOPOLITAN__)
# define _LIBCPP_FOPEN_CLOEXEC_MODE "e"
#else
# define _LIBCPP_FOPEN_CLOEXEC_MODE