Last change
on this file since 1170 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
753 bytes
|
Rev | Line | |
---|
[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | #ifndef _INC_STDARG
|
---|
| 8 | #define _INC_STDARG
|
---|
| 9 |
|
---|
| 10 | #ifndef _WIN32
|
---|
| 11 | #error Only Win32 target is supported!
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | #include <vadefs.h>
|
---|
| 15 |
|
---|
| 16 | #ifndef va_start
|
---|
| 17 | #define va_start _crt_va_start
|
---|
| 18 | #endif
|
---|
| 19 |
|
---|
| 20 | #ifndef va_arg
|
---|
| 21 | #define va_arg _crt_va_arg
|
---|
| 22 | #endif
|
---|
| 23 |
|
---|
| 24 | #ifndef va_end
|
---|
| 25 | #define va_end _crt_va_end
|
---|
| 26 | #endif
|
---|
| 27 |
|
---|
| 28 | #ifndef __va_copy
|
---|
| 29 | #define __va_copy _crt_va_copy
|
---|
| 30 | #endif
|
---|
| 31 |
|
---|
| 32 | #if !defined(va_copy) && \
|
---|
| 33 | (!defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L || defined(__GXX_EXPERIMENTAL_CXX0X__))
|
---|
| 34 | #define va_copy _crt_va_copy
|
---|
| 35 | #endif
|
---|
| 36 |
|
---|
| 37 | #endif /* not _INC_STDARG */
|
---|
| 38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.