mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-03 21:30:34 +05:00
PAL10719: Portability gcc4.0.1. Fix by Erwan ADAM.
This commit is contained in:
parent
4978ecadd8
commit
8c25570431
@ -49,13 +49,16 @@
|
|||||||
#if __GNUC__ < 3
|
#if __GNUC__ < 3
|
||||||
#include <hash_map.h>
|
#include <hash_map.h>
|
||||||
namespace gstd { using ::hash_map; }; // inherit globals
|
namespace gstd { using ::hash_map; }; // inherit globals
|
||||||
#else
|
#elif __GNUC__ == 3
|
||||||
#include <ext/hash_map>
|
#include <ext/hash_map>
|
||||||
#if __GNUC_MINOR__ == 0
|
#if __GNUC_MINOR__ == 0
|
||||||
namespace gstd = std; // GCC 3.0
|
namespace gstd = std; // GCC 3.0
|
||||||
#else
|
#else
|
||||||
namespace gstd = ::__gnu_cxx; // GCC 3.1 and later
|
namespace gstd = ::__gnu_cxx; // GCC 3.1 and later
|
||||||
#endif
|
#endif
|
||||||
|
#else // GCC 4.0 and later
|
||||||
|
#include <ext/hash_map>
|
||||||
|
namespace gstd = ::__gnu_cxx;
|
||||||
#endif
|
#endif
|
||||||
#else // ... there are other compilers, right?
|
#else // ... there are other compilers, right?
|
||||||
namespace gstd = std;
|
namespace gstd = std;
|
||||||
|
Loading…
Reference in New Issue
Block a user