From 948b342eb2b1fd2703ad235bed9eecb379ba295b Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 19 Apr 2004 06:43:23 +0000 Subject: [PATCH] PR: bug 5718 correction --- src/MEDWrapper/MED_Structures.hxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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, -- 2.39.2