123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- #ifndef _STDARG_H
- #ifndef _ANSI_STDARG_H_
- #ifndef __need___va_list
- #define _STDARG_H
- #define _ANSI_STDARG_H_
- #endif
- #undef __need___va_list
- #ifndef __GNUC_VA_LIST
- #define __GNUC_VA_LIST
- typedef __builtin_va_list __gnuc_va_list;
- #endif
- #ifdef _STDARG_H
- #define va_start(v,l) __builtin_va_start(v,l)
- #define va_end(v) __builtin_va_end(v)
- #define va_arg(v,l) __builtin_va_arg(v,l)
- #if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L || defined(__GXX_EXPERIMENTAL_CXX0X__)
- #define va_copy(d,s) __builtin_va_copy(d,s)
- #endif
- #define __va_copy(d,s) __builtin_va_copy(d,s)
- #ifdef _BSD_VA_LIST
- #undef _BSD_VA_LIST
- #endif
- #if defined(__svr4__) || (defined(_SCO_DS) && !defined(__VA_LIST))
- #ifndef _VA_LIST_
- #define _VA_LIST_
- #ifdef __i860__
- #ifndef _VA_LIST
- #define _VA_LIST va_list
- #endif
- #endif
- typedef __gnuc_va_list va_list;
- #ifdef _SCO_DS
- #define __VA_LIST
- #endif
- #endif
- #else
- #if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(WINNT)
- #ifndef _VA_LIST_DEFINED
- #ifndef _VA_LIST
- #ifndef _VA_LIST_T_H
- #ifndef __va_list__
- typedef __gnuc_va_list va_list;
- #endif
- #endif
- #endif
- #endif
- #if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__))
- #define _VA_LIST_
- #endif
- #ifndef _VA_LIST
- #define _VA_LIST
- #endif
- #ifndef _VA_LIST_DEFINED
- #define _VA_LIST_DEFINED
- #endif
- #ifndef _VA_LIST_T_H
- #define _VA_LIST_T_H
- #endif
- #ifndef __va_list__
- #define __va_list__
- #endif
- #endif
- #endif
- #endif
- #endif
- #endif
|