aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
blob: 934e7c92796cdb8d06131fc9590fcc08af791c02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once

#if !defined(NDEBUG) && !defined(_LIBCPP_DEBUG)
#   define _LIBCPP_DEBUG 0
#endif

#ifndef _YNDX_LIBCPP_ENABLE_EXTENSIONS
#   define _YNDX_LIBCPP_ENABLE_EXTENSIONS 1
#endif

#if _YNDX_LIBCPP_ENABLE_EXTENSIONS == 1
#   define _YNDX_LIBCXX_ENABLE_STRING_RESIZE_UNINITIALIZED 1
#   define _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION 0
#   define _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED 1
#else
#   define _YNDX_LIBCXX_ENABLE_STRING_RESIZE_UNINITIALIZED 0
#   define _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION 1
#   define _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED 0
#endif

#if _YNDX_LIBCPP_ENABLE_EXTENSIONS == 1 && (!defined(_LIBCPP_DEBUG) || _LIBCPP_DEBUG == 0)
#   define _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS  1
#   define _YNDX_LIBCPP_MAKE_STRING_ITERATOR_POINTERS  1
#else
#   define _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS  0
#   define _YNDX_LIBCPP_MAKE_STRING_ITERATOR_POINTERS  0
#endif

#define _YNDX_WIN32_NOFILESYSTEM_RUNTIME

#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_NO_AUTO_LINK
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
#define _LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS

#ifdef _musl_
#   define _LIBCPP_HAS_MUSL_LIBC
#endif