diff --git a/python/google/protobuf/pyext/message.cc b/python/google/protobuf/pyext/message.cc index ed07de16..62c7c478 100644 --- a/python/google/protobuf/pyext/message.cc +++ b/python/google/protobuf/pyext/message.cc @@ -340,7 +340,7 @@ static int InsertEmptyWeakref(PyTypeObject *base_type) { } // namespace message_meta -PyTypeObject PyMessageMeta_Type { +PyTypeObject PyMessageMeta_Type = { PyVarObject_HEAD_INIT(&PyType_Type, 0) FULL_MODULE_NAME ".MessageMeta", // tp_name sizeof(PyMessageMeta), // tp_basicsize