aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsquery_cleanup.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-20 23:27:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-20 23:27:11 +0000
commitd22ae3ecc2c06e81e907d0ffe7e5e120fe3a93b2 (patch)
tree26a3424bd38cb523ee758e1ddf025623e4e41e4d /src/backend/utils/adt/tsquery_cleanup.c
parenteb5f4d6c5cece3e3fa80a506153e5202b093b7ca (diff)
downloadpostgresql-d22ae3ecc2c06e81e907d0ffe7e5e120fe3a93b2.tar.gz
postgresql-d22ae3ecc2c06e81e907d0ffe7e5e120fe3a93b2.zip
Solaris portability fix that was previously made in contrib/tsearch2
but got lost from the version committed to main tree. Per Greg Stark.
Diffstat (limited to 'src/backend/utils/adt/tsquery_cleanup.c')
-rw-r--r--src/backend/utils/adt/tsquery_cleanup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/utils/adt/tsquery_cleanup.c b/src/backend/utils/adt/tsquery_cleanup.c
index bc123378e09..62de4ee6ec7 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