ReactOS 0.4.15-dev-7953-g1f49173
stdarg.h
Go to the documentation of this file.
1/* Copyright (C) 1989, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
2
3This file is part of GCC.
4
5GCC is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 2, or (at your option)
8any later version.
9
10GCC is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with GCC; see the file COPYING. If not, write to
17the Free Software Foundation, 51 Franklin Street, Fifth Floor,
18Boston, MA 02110-1301, USA. */
19
20/* As a special exception, if you include this header file into source
21 files compiled by GCC, this header file does not by itself cause
22 the resulting executable to be covered by the GNU General Public
23 License. This exception does not however invalidate any other
24 reasons why the executable file might be covered by the GNU General
25 Public License. */
26
27/*
28 * ISO C Standard: 7.15 Variable arguments <stdarg.h>
29 */
30
31#pragma once
32
33#ifndef _INC_STDARG
34#define _INC_STDARG
35
36#include <crtdefs.h>
37#include <vadefs.h>
38
39#ifndef _WIN32
40#error Only Win32 target is supported!
41#endif
42
43#ifndef va_start
44#define va_start _crt_va_start
45#endif
46#ifndef va_arg
47#define va_arg _crt_va_arg
48#endif
49#ifndef va_end
50#define va_end _crt_va_end
51#endif
52
53#endif