summaryrefslogtreecommitdiff
path: root/include/system_error
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-04 22:11:41 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-04 22:11:41 +0000
commitcb08bb04c85c6dcd3d951725505317c31eeff323 (patch)
treeaffc3d589de957aeb81a9ba2d0849e2bddde7861 /include/system_error
parent53a420fba21cf1644972b34dcd811a43cdb8368d (diff)
Notes
svn path=/vendor/libc++/dist/; revision=311321 svn path=/vendor/libc++/libc++-trunk-r291012/dist/; revision=311333; tag=vendor/libc++/libc++-trunk-r291015
Diffstat (limited to 'include/system_error')
-rw-r--r--include/system_error3
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