Thread: Re: [PATCHES] qsort_arg needed for msvc build

Re: [PATCHES] qsort_arg needed for msvc build

From
Tom Lane
Date:
"Magnus Hagander" <mha@sollentuna.net> writes:
> See attached patch.

Grumble.  That's going to be a continuing maintenance pain, isn't it?
We need to find a way to extract the list from the src/port Makefile.

            regards, tom lane

Re: [PATCHES] qsort_arg needed for msvc build

From
"Magnus Hagander"
Date:
> > See attached patch.
>
> Grumble.  That's going to be a continuing maintenance pain, isn't
> it?
> We need to find a way to extract the list from the src/port
> Makefile.

Well, it's platform dependent as it's set from configure, no?

I guess we could pull the "use on all platforms" set, and then just
append win32 specific ones, that should help a bit? If there is such a
list (don't have the code around right now) to read from.

//Magnus



Re: [PATCHES] qsort_arg needed for msvc build

From
Tom Lane
Date:
"Magnus Hagander" <mha@sollentuna.net> writes:
> I guess we could pull the "use on all platforms" set, and then just
> append win32 specific ones, that should help a bit? If there is such a
> list (don't have the code around right now) to read from.

That would probably help.  Currently the "all platforms" list is in
Makefile.global.in (part of the setup of $(LIBOBJ)), which is itself
a pretty crufty thing.  Not sure where better to put it though.
        regards, tom lane