From 9b3e2dda165bd0351f1ae518534acd1af7a15f00 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 3 Jun 1999 01:28:24 +0000 Subject: [PATCH] Ooops ... dllist.c can't use Assert() when it is compiled into libpq ... --- src/backend/lib/dllist.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/backend/lib/dllist.c b/src/backend/lib/dllist.c index 3ca7cf03c7..1c261cee21 100644 --- a/src/backend/lib/dllist.c +++ b/src/backend/lib/dllist.c @@ -9,15 +9,24 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.13 1999/05/31 23:48:03 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/lib/dllist.c,v 1.14 1999/06/03 01:28:24 tgl Exp $ * *------------------------------------------------------------------------- */ #include - #include +/* When this file is compiled for inclusion in libpq, + * it can't use assert checking. Probably this fix ought to be + * in c.h or somewhere like that... + */ +#ifdef FRONTEND +#undef Assert +#define Assert(condition) +#endif + + Dllist * DLNewList(void) {