Re: [PATCH] Add use of asprintf()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Add use of asprintf()
Дата
Msg-id 1381783711.15981.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] Add use of asprintf()  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: [PATCH] Add use of asprintf()  (Amit Kapila <amit.kapila16@gmail.com>)
Re: [PATCH] Add use of asprintf()  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Mon, 2013-10-14 at 23:08 +1300, David Rowley wrote:

> 
> Looks like something like:
> 
> 
> #ifndef WIN32
> #define HAVE_VA_COPY 1
> #endif
> 
> 
> would need to be added to asprintf.c, but also some work needs to be
> done with mcxt.c as it uses va_copy unconditionally. Perhaps just
> defining a macro for va_copy would be better for windows. I was not
> quite sure the best header file for such a macro so I did not write a
> patch to fix it.

Does Windows not have va_copy?  What do they use instead?






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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Auto-tuning work_mem and maintenance_work_mem
Следующее
От: Andres Freund
Дата:
Сообщение: Re: logical changeset generation v6.2