Commit 9b3e2dda authored by Tom Lane's avatar Tom Lane

Ooops ... dllist.c can't use Assert() when it is compiled into

libpq ...
parent 98981a9f
...@@ -9,15 +9,24 @@ ...@@ -9,15 +9,24 @@
* *
* *
* IDENTIFICATION * 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 <postgres.h> #include <postgres.h>
#include <lib/dllist.h> #include <lib/dllist.h>
/* 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 * Dllist *
DLNewList(void) DLNewList(void)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment