[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AIX 5.1 xlc va_copy (stdarg patch)
From: |
Peter O'Gorman |
Subject: |
Re: AIX 5.1 xlc va_copy (stdarg patch) |
Date: |
Tue, 26 Feb 2008 18:06:06 -0600 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Tue, Feb 26, 2008 at 03:46:15PM -0800, Paul Eggert wrote:
> "Peter O'Gorman" <address@hidden> writes:
>
> > +#if ! @HAVE_VA_COPY@
> > +#define va_copy(a,b) ((a) = (b))
> > +#endif
>
> Wouldn't it be simpler to do this?
>
> #ifndef va_copy
> #define va_copy(a,b) ((a) = (b))
> #endif
>
> After all, if there is already a va_copy, and it disagrees with our
> substitute, we're probably wrong. Doing this removes the need for
> generating or substituting HAVE_VA_COPY. va_copy is required to be a
> macro, so this should be safe.
>
Yes, it would be simpler and I would have done that had it even
crossed my mind :)
Peter
- AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/26
- Re: AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/26
- Re: AIX 5.1 xlc va_copy (stdarg patch), Paul Eggert, 2008/02/26
- Re: AIX 5.1 xlc va_copy (stdarg patch),
Peter O'Gorman <=
- Re: AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/26
- Re: AIX 5.1 xlc va_copy (stdarg patch), Bruno Haible, 2008/02/26
- Re: AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/27
- Re: AIX 5.1 xlc va_copy (stdarg patch), Bruno Haible, 2008/02/27
- Re: AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/27
- Re: AIX 5.1 xlc va_copy (stdarg patch), Peter O'Gorman, 2008/02/27