aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/__config_site
blob: 2370099ee4fe4d7e6327cbf3a0ae30f1d195de34 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once

#define _LIBCPP_ABI_VERSION 1
#define _LIBCPP_ABI_NAMESPACE __y1

#define _LIBCPP_DISABLE_NODISCARD_EXT
#define _LIBCPP_PSTL_CPU_BACKEND_THREAD

#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 _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_NO_AUTO_LINK
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS

// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1957
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
#define _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
#define _LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
#define _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION

// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1955
#define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
#define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_VOID_SPECIALIZATION

// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1956
#define _LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES

#define _LIBCPP_NO_ASAN_CONTIGUOUS_CONTAINER_FEATURES

#ifdef _musl_
#   define _LIBCPP_HAS_MUSL_LIBC
#endif