Has anyone considered an emulation for missing va_copy() in
gnulib?  I notice that version-etc.c does this inline.

It seems that it could be done pretty easily, either by wrapping
<stdarg.h> or just creating a va_copy.h that's basically this:

#include <stdarg.h>

#ifndef va_copy
  #ifdef __va_copy
    #define va_copy(DST, SRC) __va_copy (DST, SRC)
  #else
    #define va_copy(DST, SRC) ((DST) = (SRC))
  #endif
#endif

-- 
Ben Pfaff 
email: [EMAIL PROTECTED]
web: http://benpfaff.org



Reply via email to