Re: qsort vs MSVC build

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: qsort vs MSVC build
Дата
Msg-id 29825.1161281025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: qsort vs MSVC build  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: qsort vs MSVC build  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
>> 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.)

> Yeah, I think it is ;-) Just make sure it happens before we pull in
> stdlib.h, so we don't rename tha tone as well...

No, we'd want to put the macro after stdlib.h, I should think?
Specifically in port.h, where we play other similar games.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: CVS repository rsync
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: CVS repository rsync