aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/__config_site
blob: 99cd2c3ccf2c33db7b7f17273a2a950ebc33f2d7 (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
#pragma once

#define _LIBCPP_ABI_VERSION 1
#define _LIBCPP_ABI_NAMESPACE __y1

#define _LIBCPP_DISABLE_NODISCARD_EXT

#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

// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1957
#define _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES

// 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

#ifdef _musl_
#   define _LIBCPP_HAS_MUSL_LIBC
#endif