summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-25 18:35:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-25 18:35:41 +0300
commit85da6e58410c6fc027068159d19258c518f4c210 (patch)
treed614f5c55f70c76c5833081e35cea97cb02bba2a /protocols/WhatsApp/src/protobuf-c/protobuf-c.h
parentee5abbbe44376f6b4ba0c373acbf1637ffab3891 (diff)
WhatsApp: fix for reading & decrypting messages
Diffstat (limited to 'protocols/WhatsApp/src/protobuf-c/protobuf-c.h')
-rw-r--r--protocols/WhatsApp/src/protobuf-c/protobuf-c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/protobuf-c/protobuf-c.h b/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
index 5fa52da626..c66fa000e3 100644
--- a/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
+++ b/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
@@ -209,6 +209,8 @@ size_t foo__bar__baz_bah__pack_to_buffer
# define PROTOBUF_C__END_DECLS
#endif
+#define PROTOBUF_C_UNPACK_ERROR OutputDebugStringA
+
PROTOBUF_C__BEGIN_DECLS
#if defined(_WIN32) && defined(PROTOBUF_C_USE_SHARED_LIB)