diff options
Diffstat (limited to 'include/system_error')
-rw-r--r-- | include/system_error | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/system_error b/include/system_error index c7e73d4ab82b..58040639d3ec 100644 --- a/include/system_error +++ b/include/system_error @@ -384,7 +384,8 @@ class _LIBCPP_TYPE_VIS error_category public: virtual ~error_category() _NOEXCEPT; -#ifdef _LIBCPP_BUILDING_SYSTEM_ERROR +#if defined(_LIBCPP_BUILDING_SYSTEM_ERROR) && \ + defined(_LIBCPP_DEPRECATED_ABI_EXTERNAL_ERROR_CATEGORY_CONSTRUCTOR) error_category() _NOEXCEPT; #else _LIBCPP_ALWAYS_INLINE |