From: prascle Date: Mon, 19 Apr 2004 06:43:23 +0000 (+0000) Subject: PR: bug 5718 correction X-Git-Tag: Ecole_Ete_a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=948b342eb2b1fd2703ad235bed9eecb379ba295b;p=modules%2Fkernel.git PR: bug 5718 correction --- diff --git a/src/MEDWrapper/MED_Structures.hxx b/src/MEDWrapper/MED_Structures.hxx index e58956c5e..cb728a32a 100644 --- a/src/MEDWrapper/MED_Structures.hxx +++ b/src/MEDWrapper/MED_Structures.hxx @@ -9,7 +9,17 @@ #ifndef MED_Structures_HeaderFile #define MED_Structures_HeaderFile +#if defined __GNUC__ + #if __GNUC__ == 2 + #define __GNUC_2__ + #endif +#endif + +#if defined __GNUC_2__ +#include +#else #include +#endif #include "MED_Common.hxx" @@ -18,7 +28,11 @@ namespace MED{ using namespace boost; //--------------------------------------------------------------- +#if defined __GNUC_2__ + typedef vector TString; +#else typedef valarray TString; +#endif string GetString(med_int theId, med_int theStep, const TString& theString); void SetString(med_int theId, med_int theStep, TString& theString,