diff options
Diffstat (limited to 'protocols/Steam/src/protobuf-c')
| -rw-r--r-- | protocols/Steam/src/protobuf-c/protobuf-c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Steam/src/protobuf-c/protobuf-c.h b/protocols/Steam/src/protobuf-c/protobuf-c.h index 23b38fecd3..3b66e20629 100644 --- a/protocols/Steam/src/protobuf-c/protobuf-c.h +++ b/protocols/Steam/src/protobuf-c/protobuf-c.h @@ -1108,6 +1108,8 @@ protobuf_c_service_invoke_internal( PROTOBUF_C__END_DECLS #ifdef __cplusplus +#ifndef BASE_PROTOBUF_CLASS +#define BASE_PROTOBUF_CLASS extern "C" void message_init_generic(const ProtobufCMessageDescriptor * desc, ProtobufCMessage * message); struct ProtobufCppMessage : public ProtobufCMessage @@ -1117,6 +1119,7 @@ struct ProtobufCppMessage : public ProtobufCMessage message_init_generic(&descr, this); } }; -#endif +#endif // BASE_PROTOBUF_CLASS +#endif // __cplusplus #endif /* PROTOBUF_C_H */ |
