From: Nabil Ghodbane Date: Mon, 17 Apr 2023 12:17:36 +0000 (+0200) Subject: fix compilation issues. Tested on all supported Linux distributions: X-Git-Tag: V9_11_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16c7abea1dfcf704dbc740240e39a809c2251410;p=tools%2Fmedcoupling.git fix compilation issues. Tested on all supported Linux distributions: - CentOS 7, 8 - Debian 9,10, 11 - Fedora 32, 34, 36, 37 - Ubuntu 20.04, 22.04 --- diff --git a/src/MEDLoader/MEDFilterEntity.hxx b/src/MEDLoader/MEDFilterEntity.hxx index 265369361..c77733df4 100644 --- a/src/MEDLoader/MEDFilterEntity.hxx +++ b/src/MEDLoader/MEDFilterEntity.hxx @@ -25,10 +25,6 @@ #include "med.h" #include -#ifdef __GNUC__ -# include -#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 }