Mercurial > hg > octave-lyh > gnulib-hg
changeset 6905:493d80c14991
* stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Sat, 01 Jul 2006 21:38:47 +0000 |
parents | 0ebb4c1fa860 |
children | b912515df187 |
files | m4/ChangeLog m4/stdarg.m4 |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-07-01 Eric Blake <ebb9@byu.net> + + * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy. + 2006-07-01 Eric Blake <ebb9@byu.net> * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
--- a/m4/stdarg.m4 +++ b/m4/stdarg.m4 @@ -32,7 +32,7 @@ [Define as a macro for copying va_list variables.]) else AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */ -#define gl_va_copy(a,b) (a) = (b)]) +#define gl_va_copy(a,b) ((a) = (b))]) AC_DEFINE([va_copy], [gl_va_copy], [Define as a macro for copying va_list variables.]) fi