| OLD | NEW |
| 1 #ifndef _STDARG_H | 1 #ifndef _STDARG_H |
| 2 #define _STDARG_H | 2 #define _STDARG_H |
| 3 | 3 |
| 4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
| 5 extern "C" { | 5 extern "C" { |
| 6 #endif | 6 #endif |
| 7 | 7 |
| 8 #define __NEED_va_list | 8 #define __NEED_va_list |
| 9 | 9 |
| 10 #include <bits/alltypes.h> | 10 #include <bits/alltypes.h> |
| 11 | 11 |
| 12 #if __GNUC__ >= 3 | 12 #if __GNUC__ >= 3 |
| 13 #define va_start(v,l) __builtin_va_start(v,l) | 13 #define va_start(v, l) __builtin_va_start(v, l) |
| 14 #define va_end(v) __builtin_va_end(v) | 14 #define va_end(v) __builtin_va_end(v) |
| 15 #define va_arg(v,l) __builtin_va_arg(v,l) | 15 #define va_arg(v, l) __builtin_va_arg(v, l) |
| 16 #define va_copy(d,s) __builtin_va_copy(d,s) | 16 #define va_copy(d, s) __builtin_va_copy(d, s) |
| 17 #else | 17 #else |
| 18 #include <bits/stdarg.h> | 18 #include <bits/stdarg.h> |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 #ifdef __cplusplus | 21 #ifdef __cplusplus |
| 22 } | 22 } |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 #endif | 25 #endif |
| OLD | NEW |