summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/protobuf-c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-15 19:18:04 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-15 19:18:04 +0300
commit4a2a1a80bc29ec2dc13e8dd053671431eb36fe2a (patch)
tree24a8d499cbbdaa1e998b289eebce7e918fda8fdc /protocols/Steam/src/protobuf-c
parentd85347f1f2028afb685142a776f2af4473de8273 (diff)
Steam: complete login sequence (though always gives us "Invalid password" error)
Diffstat (limited to 'protocols/Steam/src/protobuf-c')
-rw-r--r--protocols/Steam/src/protobuf-c/protobuf-c.h5
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 */