[build] Ensure va_copy def comes after HAVE_VA_COPY

and HAVE__VA_COPY as well. Fixes clang's complaint about va_copy being
redefined.
This commit is contained in:
Bill Currie 2022-03-30 23:29:17 +09:00
parent d8a7706e58
commit 1d1a59ac94

View file

@ -19,7 +19,7 @@ AC_CHECK_FUNCS(
AC_FUNC_VA_COPY
AC_FUNC__VA_COPY
AH_VERBATIM([DEFINE_VA_COPY],
AH_VERBATIM([HAVE__VA_COPY_],
[#ifndef HAVE_VA_COPY
# ifdef HAVE__VA_COPY
# define va_copy(d,s) __va_copy ((d), (s))