3rdparty: apply protobuf v3.5.1..v3.5.2 patch

https://github.com/protocolbuffers/protobuf/compare/v3.5.1..v3.5.2
This commit is contained in:
Alexander Alekhin 2019-06-04 12:50:40 +03:00
parent 9802b4e123
commit 1febb12942
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
Project: Protocol Buffers - Google's data interchange format
Source code: https://github.com/google/protobuf
Version: 3.5.1
Source code: https://github.com/protocolbuffers/protobuf
Version: 3.5.2

View File

@ -91,7 +91,7 @@ struct CharTraits<wchar_t> {
template <typename char_type>
bool null_or_empty(const char_type* s) {
return s == nullptr || *s == 0;
return s == NULL || *s == 0;
}
// Returns true if the path starts with a drive letter, e.g. "c:".