diff options
Diffstat (limited to 'contrib/libc++/include/__debug')
| -rw-r--r-- | contrib/libc++/include/__debug | 18 | 
1 files changed, 10 insertions, 8 deletions
| diff --git a/contrib/libc++/include/__debug b/contrib/libc++/include/__debug index 4a0e3cecbb62..0d631bf04386 100644 --- a/contrib/libc++/include/__debug +++ b/contrib/libc++/include/__debug @@ -16,7 +16,9 @@  #   include <cstdlib>  #   include <cstdio>  #   include <cstddef> -#   define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::printf("%s\n", m), _VSTD::abort())) +#   ifndef _LIBCPP_ASSERT +#      define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::printf("%s\n", m), _VSTD::abort())) +#   endif  #endif @@ -24,9 +26,9 @@  _LIBCPP_BEGIN_NAMESPACE_STD -struct _LIBCPP_VISIBLE __c_node; +struct _LIBCPP_TYPE_VIS __c_node; -struct _LIBCPP_VISIBLE __i_node +struct _LIBCPP_TYPE_VIS __i_node  {      void* __i_;      __i_node* __next_; @@ -40,7 +42,7 @@ struct _LIBCPP_VISIBLE __i_node      ~__i_node();  }; -struct _LIBCPP_VISIBLE __c_node +struct _LIBCPP_TYPE_VIS __c_node  {      void* __c_;      __c_node* __next_; @@ -117,7 +119,7 @@ _C_node<_Cont>::__subscriptable(const void* __i, ptrdiff_t __n) const      return _Cp->__subscriptable(__j, __n);  } -class _LIBCPP_VISIBLE __libcpp_db +class _LIBCPP_TYPE_VIS __libcpp_db  {      __c_node** __cbeg_;      __c_node** __cend_; @@ -176,11 +178,11 @@ private:      _LIBCPP_HIDDEN      __i_node* __find_iterator(const void* __i) const; -    friend _LIBCPP_VISIBLE __libcpp_db* __get_db(); +    friend _LIBCPP_FUNC_VIS __libcpp_db* __get_db();  }; -_LIBCPP_VISIBLE __libcpp_db* __get_db(); -_LIBCPP_VISIBLE const __libcpp_db* __get_const_db(); +_LIBCPP_FUNC_VIS __libcpp_db* __get_db(); +_LIBCPP_FUNC_VIS const __libcpp_db* __get_const_db();  _LIBCPP_END_NAMESPACE_STD | 
