From bd55641003b4eee20e4a23a9809e71efcdadceb3 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 13 Mar 2025 12:17:43 +0100 Subject: [PATCH] posix_memalign is defined in stdlib.h. --- source/base/utilities.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/base/utilities.cc b/source/base/utilities.cc index 3d39e606d9..929833820e 100644 --- a/source/base/utilities.cc +++ b/source/base/utilities.cc @@ -53,6 +53,7 @@ #endif #ifndef DEAL_II_MSVC +// On Unix-type systems, we use posix_memalign: # include #endif @@ -63,11 +64,6 @@ # include #endif -#ifndef DEAL_II_MSVC -// On Unix-type systems, we use posix-memalign: -# include -#endif - DEAL_II_NAMESPACE_OPEN -- 2.39.5