bug 245: build failure with gcc 4.3.x

This commit is contained in:
Mathieu Lacage committed 2008-07-02 03:16:36 -07:00
1 parent 67c5dfa611
commit b93a9aeef4
22 files changed
+45 -7

No files matched your search

+7 -1
View File
@@ -20,8 +20,14 @@ namespace sgi = std; // GCC 3.0
namespace sgi = ::__gnu_cxx; // GCC 3.1 and later
#endif
#else // gcc 4.x and later
#if __GNUC_MINOR__ < 3
#include <ext/hash_map>
namespace sgi = ::__gnu_cxx;
namespace sgi = ::__gnu_cxx;
#else
#undef __DEPRECATED
#include <backward/hash_map>
namespace sgi = ::__gnu_cxx;
#endif
#endif
#endif
#else // ... there are other compilers, right?