File tree 1 file changed +5
-14
lines changed
1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#include <stdlib.h>
5
5
6
- #if (__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ >= 4 ))
7
- #define va_start (v ,l ) __builtin_va_start((v),l)
8
- #else
9
- #define va_start (v ,l ) __builtin_stdarg_start((v),l)
10
- #endif
11
-
12
- #define va_arg (ap , type ) \
13
- __builtin_va_arg((ap), type)
14
-
15
- #define va_end (ap ) \
16
- __builtin_va_end(ap)
17
-
18
- #define va_list \
19
- __builtin_va_list
6
+ #define va_start (v , l ) __builtin_va_start((v), l)
7
+ #define va_arg (ap , type ) __builtin_va_arg((ap), type)
8
+ #define va_copy (aq , ap ) __builtin_va_copy((aq), (ap))
9
+ #define va_end (ap ) __builtin_va_end(ap)
10
+ #define va_list __builtin_va_list
20
11
21
12
int vsnprintf (char * buf , size_t size , const char * fmt , va_list args );
22
13
int vscnprintf (char * buf , size_t size , const char * fmt , va_list args );
You can’t perform that action at this time.
0 commit comments