1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Avoid macro-redefinition warnings on Windows, per Andrew Dunstan.

This commit is contained in:
Tom Lane
2004-10-21 19:49:27 +00:00
parent 380bd04c16
commit 3fdd33ab99
2 changed files with 7 additions and 2 deletions

View File

@ -174,6 +174,11 @@ clean_NOT_v2(ITEM * ptr, int4 *len)
return plaintree(clean_NOT_intree(root), len);
}
#ifdef V_UNKNOWN /* exists in Windows headers */
#undef V_UNKNOWN
#endif
#define V_UNKNOWN 0
#define V_TRUE 1
#define V_FALSE 2