plastimatch
Loading...
Searching...
No Matches
plm_va_copy.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef __plm_va_copy_h__
5#define __plm_va_copy_h__
6
7#if defined(__BORLANDC__) || defined(_MSC_VER)
8#ifndef va_copy
9#define va_copy(d,s) ((d) = (s))
10#endif
11#endif
12
13#if defined(__GNUC__) || defined(__clang__)
14#ifndef va_copy
15#define va_copy(dest, src) __builtin_va_copy(dest, src)
16#endif
17#endif
18
19#endif