summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-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