]> https://gitweb.dealii.org/ - dealii.git/commitdiff
posix_memalign is defined in stdlib.h. 18244/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 13 Mar 2025 11:17:43 +0000 (12:17 +0100)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 13 Mar 2025 21:51:39 +0000 (22:51 +0100)
source/base/utilities.cc

index 3d39e606d99c4864e0ff60ef331e515aa1a3d11e..929833820e8c0fcbd684a2f5db80c49a09471ce2 100644 (file)
@@ -53,6 +53,7 @@
 #endif
 
 #ifndef DEAL_II_MSVC
+// On Unix-type systems, we use posix_memalign:
 #  include <cstdlib>
 #endif
 
 #  include <winsock2.h>
 #endif
 
-#ifndef DEAL_II_MSVC
-// On Unix-type systems, we use posix-memalign:
-#  include <mm_malloc.h>
-#endif
-
 
 
 DEAL_II_NAMESPACE_OPEN

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.