aboutsummaryrefslogtreecommitdiff
path: root/src/backend/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/lib')
-rw-r--r--src/backend/lib/dllist.c13
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)
{