From d22ae3ecc2c06e81e907d0ffe7e5e120fe3a93b2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 20 Sep 2007 23:27:11 +0000 Subject: [PATCH] Solaris portability fix that was previously made in contrib/tsearch2 but got lost from the version committed to main tree. Per Greg Stark. --- src/backend/utils/adt/tsquery_cleanup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backend/utils/adt/tsquery_cleanup.c b/src/backend/utils/adt/tsquery_cleanup.c index bc123378e0..62de4ee6ec 100644 --- a/src/backend/utils/adt/tsquery_cleanup.c +++ b/src/backend/utils/adt/tsquery_cleanup.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/tsquery_cleanup.c,v 1.4 2007/09/07 16:03:40 teodor Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/tsquery_cleanup.c,v 1.5 2007/09/20 23:27:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -194,6 +194,9 @@ clean_NOT(QueryItem * ptr, int *len) #ifdef V_UNKNOWN /* exists in Windows headers */ #undef V_UNKNOWN #endif +#ifdef V_FALSE /* exists in Solaris headers */ +#undef V_FALSE +#endif /* * output values for result output parameter of clean_fakeval_intree -- 2.40.0