From e83db15137230fbe580ba47c5d9f28aacb2aca9e Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 1 Dec 2005 13:22:31 +0000 Subject: [PATCH 1/1] PAL10719: Portability gcc4.0.1. Fix by Erwan ADAM. --- src/SMESHDS/SMESHDS_Mesh.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SMESHDS/SMESHDS_Mesh.hxx b/src/SMESHDS/SMESHDS_Mesh.hxx index 53d26caff..a5a54907b 100644 --- a/src/SMESHDS/SMESHDS_Mesh.hxx +++ b/src/SMESHDS/SMESHDS_Mesh.hxx @@ -53,13 +53,16 @@ #if __GNUC__ < 3 #include namespace gstd { using ::hash_map; }; // inherit globals - #else + #elif __GNUC__ == 3 #include #if __GNUC_MINOR__ == 0 namespace gstd = std; // GCC 3.0 #else namespace gstd = ::__gnu_cxx; // GCC 3.1 and later #endif + #else // GCC 4.0 and later + #include + namespace gstd = ::__gnu_cxx; #endif #else // ... there are other compilers, right? namespace gstd = std; -- 2.30.2