hashmap.h
00001 #ifndef VVLIB_UTIL_HASHMAP_H
00002 #define VVLIB_UTIL_HASHMAP_H
00003
00004 #include <config.h>
00005 #ifdef __GNUC__
00006 # include <util/features.h>
00007 # if __GNUC_PREREQ(4,0)
00008 # include <util/unorderedmap.h>
00009 # define hash_map unordered_map
00010 # elif __GNUC_PREREQ(3,2)
00011 # include <ext/hash_map>
00012 namespace std
00013 {
00014 namespace tr1
00015 {
00016 using namespace __gnu_cxx;
00017 }
00018 }
00019 # else
00020 # error "hash_map is not identified for your compiler"
00021 # endif
00022 #else
00023 # error "hash_map is not identified for your compiler"
00024 #endif
00025
00026 #endif // VVLIB_UTIL_HASHMAP_H
00027