Re: qsort vs MSVC build - Mailing list pgsql-hackers

From Neil Conway
Subject Re: qsort vs MSVC build
Date
Msg-id 1161281122.5212.9.camel@localhost.localdomain
Whole thread Raw
In response to Re: qsort vs MSVC build  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: qsort vs MSVC build
List pgsql-hackers
On Thu, 2006-10-19 at 13:56 -0400, Tom Lane wrote:
> Is it worth renaming our qsort to pg_qsort to avoid this?  (I'd be
> inclined to do that via a macro "#define qsort pg_qsort", not by running
> around and changing all the code.)

Why not change each call site? I don't think it would hurt to be clear
about the fact that we're calling our own sorting function, not the
platform's libc qsort().

-Neil




pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: qsort vs MSVC build
Next
From: Tom Lane
Date:
Subject: Re: qsort vs MSVC build