blob: ab9533d50f5d203351536151ee0341c307e97d1b [file] [log] [blame]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_STDARG
#define _INC_STDARG
#ifndef _WIN32
#error Only Win32 target is supported!
#endif
#include <vadefs.h>
#ifndef va_start
#define va_start _crt_va_start
#endif
#ifndef va_arg
#define va_arg _crt_va_arg
#endif
#ifndef va_end
#define va_end _crt_va_end
#endif
#ifndef __va_copy
#define __va_copy _crt_va_copy
#endif
#if !defined(va_copy) && \
(!defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L || defined(__GXX_EXPERIMENTAL_CXX0X__))
#define va_copy _crt_va_copy
#endif
#endif /* not _INC_STDARG */