aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/query_cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsearch2/query_cleanup.c')
-rw-r--r--contrib/tsearch2/query_cleanup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tsearch2/query_cleanup.c b/contrib/tsearch2/query_cleanup.c
index 08d3ff219b5..0d3427ff9b8 100644
--- a/contrib/tsearch2/query_cleanup.c
+++ b/contrib/tsearch2/query_cleanup.c
@@ -173,6 +173,9 @@ clean_NOT_v2(ITEM * ptr, int4 *len)
#ifdef V_UNKNOWN /* exists in Windows headers */
#undef V_UNKNOWN
#endif
+#ifdef V_FALSE /* exists in Solaris headers */
+#undef V_FALSE
+#endif
#define V_UNKNOWN 0
#define V_TRUE 1