Fix one more usage of _LIBCPP_HAS_NO_EXCEPTIONS

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268839 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/experimental/memory_resource.cpp b/src/experimental/memory_resource.cpp
index fe338e0..046ef02 100644
--- a/src/experimental/memory_resource.cpp
+++ b/src/experimental/memory_resource.cpp
@@ -50,7 +50,7 @@
 
 protected:
     virtual void* do_allocate(size_t, size_t) {
-#ifndef _LIBCPP_HAS_NO_EXCEPTIONS
+#ifndef _LIBCPP_NO_EXCEPTIONS
         throw std::bad_alloc();
 #else
         abort();