stdarg.h 407 B

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