Commit c5179609f32de7999f9da1506346ac4b27a7a385

Guillem Jover 2015-06-29T17:32:14

build: Define a dummy _DIAGASSERT

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/md2.c b/src/md2.c
index f409d7b..b01fe60 100644
--- a/src/md2.c
+++ b/src/md2.c
@@ -40,6 +40,8 @@ __RCSID("$NetBSD: md2.c,v 1.7 2012/06/25 22:32:44 abs Exp $");
 #include <md2.h>
 #include <string.h>
 
+#define _DIAGASSERT(x)
+
 #if !HAVE_MD2_H
 
 /* cut-n-pasted from rfc1319 */