mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-30 13:26:10 +08:00
8a67ab4541
Also replace 'This file is a part of' by 'This file is part of' for consistency git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5147 4407c894-4637-0410-b4f5-ada5f102cad1
39 lines
753 B
C
39 lines
753 B
C
/**
|
|
* 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 */
|
|
|