Re: [PATCH] Add use of asprintf() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Add use of asprintf()
Date
Msg-id 1381783711.15981.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: [PATCH] Add use of asprintf()  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: [PATCH] Add use of asprintf()  (Amit Kapila <amit.kapila16@gmail.com>)
Re: [PATCH] Add use of asprintf()  (David Rowley <dgrowleyml@gmail.com>)
List 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 by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Auto-tuning work_mem and maintenance_work_mem
Next
From: Andres Freund
Date:
Subject: Re: logical changeset generation v6.2