Show
Ignore:
Timestamp:
11/19/08 13:47:19 (17 years ago)
Author:
yumileroy
Message:

[svn] * more fixes for hash/unordered map. source mangos.

Original author: KingPin?
Date: 2008-11-12 06:41:30-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/framework/Utilities/UnorderedMap.h

    r210 r216  
    2727#if COMPILER == COMPILER_INTEL 
    2828#include <ext/hash_map> 
    29 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 
     29#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3) 
    3030#include <tr1/unordered_map> 
    3131#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 
     
    4848#define UNORDERED_MAP std::hash_map 
    4949using std::hash_map; 
    50 #elif COMPILER == COMPILER_GNU && __GNUC__ >= 4 
     50#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3) 
    5151#define UNORDERED_MAP std::tr1::unordered_map 
    5252#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3