We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f9032c + 0c7568a commit 6562e40Copy full SHA for 6562e40
1 file changed
src/libipc/mem/new_delete_resource.cpp
@@ -36,7 +36,7 @@ void *new_delete_resource::allocate(std::size_t bytes, std::size_t alignment) no
36
log.error("invalid bytes = ", bytes, ", alignment = ", alignment);
37
return nullptr;
38
}
39
-#if defined(LIBIPC_CPP_17) && !defined(LIBIPC_CC_MSVC)
+#if defined(LIBIPC_CPP_17) && !defined(LIBIPC_CC_MSVC) && !defined(__MINGW32__)
40
/// \see https://en.cppreference.com/w/cpp/memory/c/aligned_alloc
41
/// \remark The size parameter must be an integral multiple of alignment.
42
return std::aligned_alloc(alignment, ipc::round_up(bytes, alignment));
0 commit comments