File tree 2 files changed +12
-6
lines changed
compiler-rt/test/sanitizer_common/TestCases/Linux
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
#ifndef __STDARG_H
11
- #define __STDARG_H
12
11
12
+ #ifndef __GNUC_VA_LIST
13
+ #define __GNUC_VA_LIST
14
+ typedef __builtin_va_list __gnuc_va_list;
15
+ #endif
16
+
17
+ #ifdef __need___va_list
18
+ #undef __need___va_list
19
+ #else
20
+ #define __STDARG_H
13
21
#ifndef _VA_LIST
14
22
typedef __builtin_va_list va_list ;
15
23
#define _VA_LIST
@@ -29,9 +37,6 @@ typedef __builtin_va_list va_list;
29
37
#define va_copy (dest, src ) __builtin_va_copy(dest, src)
30
38
#endif
31
39
32
- #ifndef __GNUC_VA_LIST
33
- #define __GNUC_VA_LIST 1
34
- typedef __builtin_va_list __gnuc_va_list;
35
- #endif
36
-
37
40
#endif /* __STDARG_H */
41
+
42
+ #endif /* not __STDARG_H */
Original file line number Diff line number Diff line change 5
5
6
6
#include < assert.h>
7
7
#include < signal.h>
8
+ #include < stdarg.h>
8
9
#include < stdio.h>
9
10
#include < sys/time.h>
10
11
#include < sys/wait.h>
You can’t perform that action at this time.
0 commit comments