[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: |
Paul Eggert |
Subject: |
Re: AIX 5.1 xlc va_copy (stdarg patch) |
Date: |
Tue, 26 Feb 2008 15:46:15 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"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.
- 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 <=
- Re: 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), 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