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:
@ -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
|
||||
|
Reference in New Issue
Block a user