Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL10719: Portability gcc4.0.1. Fix by Erwan ADAM.
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_Mesh.hxx
diff --git
a/src/SMESHDS/SMESHDS_Mesh.hxx
b/src/SMESHDS/SMESHDS_Mesh.hxx
index 53d26caffd75507774ae87067205e7a00ceda4bb..a5a54907b5855004ce5d61545f54cc4809ecebd5 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Mesh.hxx
+++ b/
src/SMESHDS/SMESHDS_Mesh.hxx
@@
-53,13
+53,16
@@
#if __GNUC__ < 3
#include <hash_map.h>
namespace gstd { using ::hash_map; }; // inherit globals
#if __GNUC__ < 3
#include <hash_map.h>
namespace gstd { using ::hash_map; }; // inherit globals
- #el
se
+ #el
if __GNUC__ == 3
#include <ext/hash_map>
#if __GNUC_MINOR__ == 0
namespace gstd = std; // GCC 3.0
#else
namespace gstd = ::__gnu_cxx; // GCC 3.1 and later
#endif
#include <ext/hash_map>
#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 <ext/hash_map>
+ namespace gstd = ::__gnu_cxx;
#endif
#else // ... there are other compilers, right?
namespace gstd = std;
#endif
#else // ... there are other compilers, right?
namespace gstd = std;