Solaris portability fix that was previously made in contrib/tsearch2

but got lost from the version committed to main tree.  Per Greg Stark.
This commit is contained in:
Tom Lane 2007-09-20 23:27:11 +00:00
parent eb5f4d6c5c
commit d22ae3ecc2

View 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