| Index: third_party/protobuf/src/google/protobuf/descriptor.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/descriptor.cc b/third_party/protobuf/src/google/protobuf/descriptor.cc
|
| index 7c121d9a3fd69e9e9d9d3788ca5413498a42c5a9..fb72e419fbbc4b3c4b332020791bd225c876fd72 100644
|
| --- a/third_party/protobuf/src/google/protobuf/descriptor.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/descriptor.cc
|
| @@ -131,7 +131,8 @@ const char * const FieldDescriptor::kLabelToName[MAX_LABEL + 1] = {
|
| "repeated", // LABEL_REPEATED
|
| };
|
|
|
| -#ifndef _MSC_VER // MSVC doesn't need these and won't even accept them.
|
| +// MSVC prior to VC 2015 doesn't need these and won't even accept them.
|
| +#if !defined(_MSC_VER) || _MSC_VER >= 1900
|
| const int FieldDescriptor::kMaxNumber;
|
| const int FieldDescriptor::kFirstReservedNumber;
|
| const int FieldDescriptor::kLastReservedNumber;
|
|
|