__wrappers_config 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #define _LIBCPP_ABI_VERSION 1
  3. #define _LIBCPP_ABI_NAMESPACE __y1
  4. #if !defined(NDEBUG) && !defined(_LIBCPP_DEBUG)
  5. # define _LIBCPP_DEBUG 0
  6. #endif
  7. #ifndef _YNDX_LIBCPP_ENABLE_EXTENSIONS
  8. # define _YNDX_LIBCPP_ENABLE_EXTENSIONS 1
  9. #endif
  10. #if _YNDX_LIBCPP_ENABLE_EXTENSIONS == 1
  11. # define _YNDX_LIBCXX_ENABLE_STRING_RESIZE_UNINITIALIZED 1
  12. # define _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION 0
  13. # define _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED 1
  14. #else
  15. # define _YNDX_LIBCXX_ENABLE_STRING_RESIZE_UNINITIALIZED 0
  16. # define _YNDX_LIBCXX_ENABLE_VECTOR_BOOL_COMPRESSION 1
  17. # define _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED 0
  18. #endif
  19. #if _YNDX_LIBCPP_ENABLE_EXTENSIONS == 1 && (!defined(_LIBCPP_DEBUG) || _LIBCPP_DEBUG == 0)
  20. # define _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS 1
  21. # define _YNDX_LIBCPP_MAKE_STRING_ITERATOR_POINTERS 1
  22. #else
  23. # define _YNDX_LIBCPP_MAKE_VECTOR_ITERATOR_POINTERS 0
  24. # define _YNDX_LIBCPP_MAKE_STRING_ITERATOR_POINTERS 0
  25. #endif
  26. #define _YNDX_WIN32_NOFILESYSTEM_RUNTIME
  27. #define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
  28. #define _LIBCPP_NO_AUTO_LINK
  29. #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
  30. // should be removed in https://st.yandex-team.ru/IGNIETFERRO-1957
  31. #define _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES
  32. // should be removed in https://st.yandex-team.ru/IGNIETFERRO-1955
  33. #define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
  34. #define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_VOID_SPECIALIZATION
  35. // should be removed in https://st.yandex-team.ru/IGNIETFERRO-1956
  36. #define _LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
  37. #define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
  38. #ifdef _musl_
  39. # define _LIBCPP_HAS_MUSL_LIBC
  40. #endif