summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-30 17:28:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-30 17:28:10 +0300
commit3eb922de103ba874b48a88c9fc0c68a82260866e (patch)
tree5142c13f282cc656e9b21b93b931511b004f3fd4 /protocols/WhatsApp/src
parent96d5125d05d6ee41c567e8380608c2706d21656b (diff)
build fix
Diffstat (limited to 'protocols/WhatsApp/src')
-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 c66fa000e3..ec91d00977 100644
--- a/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
+++ b/protocols/WhatsApp/src/protobuf-c/protobuf-c.h
@@ -209,7 +209,9 @@ size_t foo__bar__baz_bah__pack_to_buffer
# define PROTOBUF_C__END_DECLS
#endif
+#ifdef _DEBUG
#define PROTOBUF_C_UNPACK_ERROR OutputDebugStringA
+#endif
PROTOBUF_C__BEGIN_DECLS