summaryrefslogtreecommitdiffstats
path: root/libcxx/include/new
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/new')
-rw-r--r--libcxx/include/new4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/new b/libcxx/include/new
index 8d72ba5c880..7c3076c01a3 100644
--- a/libcxx/include/new
+++ b/libcxx/include/new
@@ -171,6 +171,10 @@ enum class _LIBCPP_ENUM_VIS align_val_t : size_t { };
enum align_val_t { __zero = 0, __max = (size_t)-1 };
#endif
#endif
+#elif !defined(__cpp_aligned_new)
+// We're defering to Microsoft's STL to provide aligned new et al. We don't
+// have it unless the language feature test macro is defined.
+#define _LIBCPP_HAS_NO_ALIGNED_ALLOCATION
#endif
} // std
OpenPOWER on IntegriCloud