xref: /DragonStub/inc/efistdarg.h (revision 41e4d11d118973969f494c8a4ae9ccbff2684d4a)
1 #ifndef _EFISTDARG_H_
2 #define _EFISTDARG_H_
3 
4 /*++
5 
6 Copyright (c) 1998  Intel Corporation
7 
8 Module Name:
9 
10     devpath.h
11 
12 Abstract:
13 
14     Defines for parsing the EFI Device Path structures
15 
16 
17 
18 Revision History
19 
20 --*/
21 
22 #if !defined(GNU_EFI_USE_EXTERNAL_STDARG) && !defined(_MSC_VER)
23 typedef __builtin_va_list va_list;
24 
25 # define va_start(v,l)	__builtin_va_start(v,l)
26 # define va_end(v)	__builtin_va_end(v)
27 # define va_arg(v,l)	__builtin_va_arg(v,l)
28 # define va_copy(d,s)	__builtin_va_copy(d,s)
29 #else
30 # include <stdarg.h>
31 #endif
32 
33 #endif
34