zig/lib/libc/include/any-windows-any/_mingw_stdarg.h
Andrew Kelley 49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00

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 */