diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-06-03 01:28:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-06-03 01:28:24 +0000 |
commit | 9b3e2dda165bd0351f1ae518534acd1af7a15f00 (patch) | |
tree | 89cc757fb795a46162cfbe3ea3bf93427e2c353d /src/backend/lib | |
parent | 98981a9f1cb86ed731e3a87a6a1adda4030af4f8 (diff) | |
download | postgresql-9b3e2dda165bd0351f1ae518534acd1af7a15f00.tar.gz postgresql-9b3e2dda165bd0351f1ae518534acd1af7a15f00.zip |
Ooops ... dllist.c can't use Assert() when it is compiled into
libpq ...
Diffstat (limited to 'src/backend/lib')
-rw-r--r-- | src/backend/lib/dllist.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/backend/lib/dllist.c b/src/backend/lib/dllist.c index 3ca7cf03c74..1c261cee21e 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 <postgres.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 * DLNewList(void) { |