From 16c7abea1dfcf704dbc740240e39a809c2251410 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 17 Apr 2023 14:17:36 +0200 Subject: [PATCH] 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 --- src/MEDLoader/MEDFilterEntity.hxx | 8 -------- 1 file changed, 8 deletions(-) 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 } -- 2.39.2