#ifndef STL_HASHMAP_H_ #define STL_HASHMAP_H_ #ifdef CONFIG_USE_0X #include #define hashmap std::unordered_map #else #include namespace __gnu_cxx { template<> struct hash { size_t operator()(long long int __x) const { return __x; } }; template<> struct hash { size_t operator()(unsigned long long int __x) const { return __x; } }; }; #define hashmap __gnu_cxx::hash_map #endif #endif