summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorTimothy Simpson <simpsont@objectcomputing.com>2022-10-03 14:52:43 -0500
committerTimothy Simpson <simpsont@objectcomputing.com>2022-10-03 14:52:43 -0500
commitdbc1d4e7b8dcddbfeaf227ecdd2f09dd017f266d (patch)
tree05d3717ebd99379a9fef994e87dafba4d86df92b /ACE
parentf7612da13ee5cc1fec02cf237d42fa9fc7ea1a5b (diff)
downloadATCD-dbc1d4e7b8dcddbfeaf227ecdd2f09dd017f266d.tar.gz
For llvm's libcxx, C++17 or greater implies lack of std::auto_ptr unless defines are set
Diffstat (limited to 'ACE')
-rw-r--r--ACE/ace/config-macosx-leopard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/config-macosx-leopard.h b/ACE/ace/config-macosx-leopard.h
index 23d9dea5ddd..f86314bda3a 100644
--- a/ACE/ace/config-macosx-leopard.h
+++ b/ACE/ace/config-macosx-leopard.h
@@ -211,6 +211,10 @@
#endif
#endif
+#if __cplusplus >= 201703L && !defined (_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR)
+# define ACE_LACKS_AUTO_PTR
+#endif
+
// dlcompat package (not part of base Darwin) is needed for dlopen().
// You may download directly from sourceforge and install or use fink
// Fink installer puts libraries in /sw/lib and headers in /sw/include