]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
fix windows: conditionally include sysinfo ast/fix-includes-windows
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Thu, 12 Sep 2024 18:44:08 +0000 (20:44 +0200)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Thu, 12 Sep 2024 18:44:08 +0000 (20:44 +0200)
src/MEDPartitioner/MEDPARTITIONER_ParaDomainSelector.cxx

index b1cd85bd4d68935be4cab6d077b50d6a86ce7170..b50e32d6095ba11c754c7c2e880eec6c587bdbca 100644 (file)
 
 #include <cstddef>
 #include <iostream>
-#include <linux/sysinfo.h>
+
+#if !defined WIN32 && !defined __APPLE__
+#include <sys/sysinfo.h>
+#endif
 
 #ifdef HAVE_MPI