diff --git a/src/google/protobuf/stubs/hash.h b/src/google/protobuf/stubs/hash.h index 11bc2b3718..2d69fdc1a6 100755 --- a/src/google/protobuf/stubs/hash.h +++ b/src/google/protobuf/stubs/hash.h @@ -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 <>