]> granicus.if.org Git - postgresql/commitdiff
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 bc123378e09aeaa22f6b7724d10a0f7345f4b6c1..62de4ee6ec74c66ccdc9c41f3e6bbe475d07becd 100644 (file)
@@ -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