From 9a14a10fb644ebbac458d6cb12e694c4e6509238 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 21 Jan 2002 23:22:17 +0000 Subject: [PATCH] Somewhere along the line, the _DIAGASSERT was lost. Re-add it (as a macro that expands to nothing); only NetBSD hosts really have this. --- tools/compat/config.h.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/compat/config.h.in b/tools/compat/config.h.in index 70a47ebb7fba..d26f5a23aeb9 100644 --- a/tools/compat/config.h.in +++ b/tools/compat/config.h.in @@ -1,4 +1,4 @@ -/* $NetBSD: config.h.in,v 1.4 2002/01/21 20:04:36 tv Exp $ */ +/* $NetBSD: config.h.in,v 1.5 2002/01/21 23:22:17 tv Exp $ */ #ifndef __NETBSD_COMPAT_CONFIG_H__ #define __NETBSD_COMPAT_CONFIG_H__ @@ -133,8 +133,10 @@ ssize_t pwrite(int, const void *, size_t, off_t); mode_t getmode(const void *, mode_t); void *setmode(const char *); -/* Eliminate RCS Id strings embedded in binaries. */ +/* Eliminate RCS Id strings, assertions embedded in binaries. */ +#undef _DIAGASSERT +#define _DIAGASSERT(x) /**/ #define lint /* Assume an ANSI compiler for the host. */