From: Marc Fehling Date: Thu, 13 Mar 2025 11:17:43 +0000 (+0100) Subject: posix_memalign is defined in stdlib.h. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18244%2Fhead;p=dealii.git posix_memalign is defined in stdlib.h. --- 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