mirror of
https://github.com/troglobit/libite.git
synced 2026-10-31 12:50:41 +00:00
fparseln: Portability fix _DIAGASSERT()
Only define _DIAGASSERT() if it's not already defined. For building libite on NetBSD. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
7cf2a3786c
commit
e8a3117158
1 file changed
+2
@@ -36,7 +36,9 @@ __RCSID("$NetBSD: fparseln.c,v 1.10 2009/10/21 01:07:45 snj Exp $");
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "lite.h"
|
#include "lite.h"
|
||||||
|
|
||||||
|
#ifndef _DIAGASSERT
|
||||||
#define _DIAGASSERT(t)
|
#define _DIAGASSERT(t)
|
||||||
|
#endif
|
||||||
|
|
||||||
static int isescaped(const char *, const char *, int);
|
static int isescaped(const char *, const char *, int);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user