diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/framework/Utilities/UnorderedMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/Utilities/UnorderedMap.h b/src/framework/Utilities/UnorderedMap.h index 4af2a1ae74d..1b9685e9523 100644 --- a/src/framework/Utilities/UnorderedMap.h +++ b/src/framework/Utilities/UnorderedMap.h @@ -26,7 +26,7 @@ #if COMPILER == COMPILER_INTEL #include <ext/hash_map> -#elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 +#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3) #include <tr1/unordered_map> #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 #include <ext/hash_map> @@ -47,7 +47,7 @@ using stdext::hash_map; #elif COMPILER == COMPILER_INTEL #define UNORDERED_MAP std::hash_map using std::hash_map; -#elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 +#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3) #define UNORDERED_MAP std::tr1::unordered_map #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 #define UNORDERED_MAP __gnu_cxx::hash_map |
