Commit 55df1219 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #341 from yukawa/fix-undef-GOOGLE_PROTOBUF_MISSING_HASH

Undef GOOGLE_PROTOBUF_MISSING_HASH after it is used.
parents 48f95941 cf9f603e
......@@ -53,6 +53,7 @@ namespace google {
namespace protobuf {
#ifdef GOOGLE_PROTOBUF_MISSING_HASH
#undef GOOGLE_PROTOBUF_MISSING_HASH
// This system doesn't have hash_map or hash_set. Emulate them using map and
// set.
......@@ -200,7 +201,6 @@ class hash_set
hash_set(int = 0) {}
};
#undef GOOGLE_PROTOBUF_MISSING_HASH
#endif // !GOOGLE_PROTOBUF_MISSING_HASH
template <>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment