Re: qsort vs MSVC build

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: qsort vs MSVC build
Дата
Msg-id 1161281122.5212.9.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: qsort vs MSVC build  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: qsort vs MSVC build  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: qsort vs MSVC build
Следующее
От: Tom Lane
Дата:
Сообщение: Re: qsort vs MSVC build