Solaris portability fix that was previously made in contrib/tsearch2
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2007 23:27:11 +0000 (23:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2007 23:27:11 +0000 (23:27 +0000)
but got lost from the version committed to main tree.  Per Greg Stark.

src/backend/utils/adt/tsquery_cleanup.c

index 2d59e6d08d26353cef71320f897a62204b878211..b90aafbc8fba112e1cf1f2037a116067c382013c 100644 (file)
@@ -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