1
#ifndef _COMPAT_VA_COPY_H_INCLUDED_
2
#define _COMPAT_VA_COPY_H_INCLUDED_
10
/* #include <compat_va_copy.h>
15
* C99 defines va_start and va_copy as macros, so we can probe the
16
* compilation environment with #ifdef etc. Some environments define
17
* __va_copy so we probe for that, too.
19
#if !defined(va_start)
20
#error "include <stdarg.h> first"
25
#define VA_COPY(dest, src) va_copy(dest, src)
26
#elif defined(__va_copy)
27
#define VA_COPY(dest, src) __va_copy(dest, src)
29
#define VA_COPY(dest, src) (dest) = (src)
36
/* The Secure Mailer license must be distributed with this software.
39
/* IBM T.J. Watson Research
41
/* Yorktown Heights, NY 10598, USA