[gnutls-dev] [PATCH] gnutls fails to compile on PPC
Ivo Timmermans
irt@cistron.nl
Mon Nov 12 13:24:01 2001
Ivo Timmermans wrote:
> You have #ifdef USE_VA_COPY, but you don't use HAVE___VA_COPY, which
> is needed at least for me to compile the cvs version. I changed it
> to:
#ifdef USE_VA_COPY
# ifdef HAVE_VA_COPY
# define VA_COPY(a,b) (va_copy((a),(b)))
# endif
# ifdef HAVE___VA_COPY
# define VA_COPY(a,b) (__va_copy((a),(b)))
# endif
#else
# define VA_COPY(a,b) ((a)=(b))
#endif
The previous code was wrong. d'oh.
Ivo
--
Bus error