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

#define _LIBCPP_ABI_VERSION 1
#define _LIBCPP_ABI_NAMESPACE __y1

#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
#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES

#ifdef _musl_
#   define _LIBCPP_HAS_MUSL_LIBC
#endif