mirror of
https://github.com/troglobit/libite.git
synced 2026-10-02 22:02:48 +07: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:
@@ -36,7 +36,9 @@ __RCSID("$NetBSD: fparseln.c,v 1.10 2009/10/21 01:07:45 snj Exp $");
|
||||
#include <stdlib.h>
|
||||
#include "lite.h"
|
||||
|
||||
#ifndef _DIAGASSERT
|
||||
#define _DIAGASSERT(t)
|
||||
#endif
|
||||
|
||||
static int isescaped(const char *, const char *, int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user