efistdarg.h 528 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _EFISTDARG_H_
  2. #define _EFISTDARG_H_
  3. /*++
  4. Copyright (c) 1998 Intel Corporation
  5. Module Name:
  6. devpath.h
  7. Abstract:
  8. Defines for parsing the EFI Device Path structures
  9. Revision History
  10. --*/
  11. #if !defined(GNU_EFI_USE_EXTERNAL_STDARG) && !defined(_MSC_VER)
  12. typedef __builtin_va_list va_list;
  13. # define va_start(v,l) __builtin_va_start(v,l)
  14. # define va_end(v) __builtin_va_end(v)
  15. # define va_arg(v,l) __builtin_va_arg(v,l)
  16. # define va_copy(d,s) __builtin_va_copy(d,s)
  17. #else
  18. # include <stdarg.h>
  19. #endif
  20. #endif