We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da87956 commit 31fb9a8Copy full SHA for 31fb9a8
include/proxsuite/linalg/veg/memory/alloc.hpp
@@ -27,7 +27,8 @@ namespace veg {
27
#ifdef __APPLE__
28
namespace alignment {
29
30
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 && \
31
+ (defined(_LIBCPP_HAS_ALIGNED_ALLOC) || defined(_LIBCPP_HAS_C11_FEATURES))
32
VEG_INLINE void*
33
aligned_alloc(std::size_t alignment, std::size_t size)
34
{
0 commit comments