]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
fix compilation issues. Tested on all supported Linux distributions: abn/mac_port
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 17 Apr 2023 12:17:36 +0000 (14:17 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 17 Apr 2023 12:17:36 +0000 (14:17 +0200)
 - CentOS 7, 8
 - Debian 9,10, 11
 - Fedora 32, 34, 36, 37

 -  Ubuntu 20.04, 22.04

src/MEDLoader/MEDFilterEntity.hxx

index 265369361c62698acee25eef08c58baa4f69c823..c77733df48c617d29070d5b0f92336566ae28ae9 100644 (file)
 #include "med.h"
 #include <memory>
 
-#ifdef __GNUC__
-#  include <features.h>
-#endif // __GNUC__
-
 namespace MEDCoupling
 {
 
@@ -62,11 +58,7 @@ namespace MEDCoupling
 #if defined(WIN32)
     ref = MED_FILTER_INIT;
 #else
-  #if defined(__GNUC__) && __GNUC_PREREQ(9,0)
-    ref = MED_FILTER_INIT;
-  #else
     ref = (med_filter)MED_FILTER_INIT;
-  #endif
 #endif // WIN32
   }