/*1* MSVC Compatible va_copy macro2* Copyright (c) 2012 Derek Buitenhuis3*4* This file is part of FFmpeg.5*6* FFmpeg is free software; you can redistribute it and/or7* modify it under the terms of the GNU Lesser General Public8* License as published by the Free Software Foundation; either9* version 2.1 of the License, or (at your option) any later version.10*11* FFmpeg is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU14* Lesser General Public License for more details.15*16* You should have received a copy of the GNU Lesser General Public17* License along with FFmpeg; if not, write to the Free Software18* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19*/2021#ifndef COMPAT_VA_COPY_H22#define COMPAT_VA_COPY_H2324#include <stdarg.h>2526#if !defined(va_copy) && defined(_MSC_VER)27#define va_copy(dst, src) ((dst) = (src))28#endif29#if !defined(va_copy) && defined(__GNUC__) && __GNUC__ < 330#define va_copy(dst, src) __va_copy(dst, src)31#endif3233#endif /* COMPAT_VA_COPY_H */343536