Re: fix windows contrib compile warnings for redefined - Mailing list pgsql-patches

From Tom Lane
Subject Re: fix windows contrib compile warnings for redefined
Date
Msg-id 23175.1098388245@sss.pgh.pa.us
Whole thread Raw
In response to Re: fix windows contrib compile warnings for redefined  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> I didn't. In one case (IDIGNORE) I changed the name of the macro to
> avoid the conflict, and in the other (V_UKNOWN) I removed the Windows
> def which has no applicability in that context (the Windows version
> comes from oleauto.h).  Both of these cases occur in .c files and have
> no effects outside these files.

I hadn't checked closely enough --- you're right these are ok.
Patch applied (and yes, tsearch2 does still work for me...)

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix windows contrib compile warnings for redefined macros
Next
From: David Fetter
Date:
Subject: Example of function returning SETOF RECORD