On Tue, Feb 9, 2010 at 17:11, Tom Lane <t...@sss.pgh.pa.us> wrote: > Magnus Hagander <mag...@hagander.net> writes: >> Here's a patch that "fixes" this. I put it locally for the radius >> authentication for now, since we don't use this anywhere else. Should >> we put this in /port/ somewhere, or is this good for now? > > How about dropping it in src/backend/port/win32/mingwcompat.c ?
Oh, meh. I had forgotten we had that file :-) Thanks for the reminder, will verify tonight that it still works after I do that. > The advantage of putting it in src/port/ is that it would possibly > help client-side code sometime in future. But what seems more likely > to happen is that the mingw people will fix their oversight, and > then we'd be risking link conflicts, which will be harder to fix on > the client side. So I'm inclined to not go there as long as we > don't actually need it on client side. But putting mingw hacks > in a mingw-specific place seems a good idea. yeah, agreed. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers