diff options
author | Timothy Simpson <simpsont@objectcomputing.com> | 2022-10-03 14:52:43 -0500 |
---|---|---|
committer | Timothy Simpson <simpsont@objectcomputing.com> | 2022-10-03 14:52:43 -0500 |
commit | dbc1d4e7b8dcddbfeaf227ecdd2f09dd017f266d (patch) | |
tree | 05d3717ebd99379a9fef994e87dafba4d86df92b /ACE | |
parent | f7612da13ee5cc1fec02cf237d42fa9fc7ea1a5b (diff) | |
download | ATCD-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.h | 4 |
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 |