summaryrefslogtreecommitdiffstats
path: root/libcxx/src/experimental/memory_resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/experimental/memory_resource.cpp')
-rw-r--r--libcxx/src/experimental/memory_resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/experimental/memory_resource.cpp b/libcxx/src/experimental/memory_resource.cpp
index fe338e0b9e7..046ef02a4bc 100644
--- a/libcxx/src/experimental/memory_resource.cpp
+++ b/libcxx/src/experimental/memory_resource.cpp
@@ -50,7 +50,7 @@ public:
protected:
virtual void* do_allocate(size_t, size_t) {
-#ifndef _LIBCPP_HAS_NO_EXCEPTIONS
+#ifndef _LIBCPP_NO_EXCEPTIONS
throw std::bad_alloc();
#else
abort();
OpenPOWER on IntegriCloud