_cstdarg.h 955 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 1999
  3. * Boris Fomitchev
  4. *
  5. * This material is provided "as is", with absolutely no warranty expressed
  6. * or implied. Any use is at your own risk.
  7. *
  8. * Permission to use or copy this software for any purpose is hereby granted
  9. * without fee, provided the above notices are retained on all copies.
  10. * Permission to modify the code and to distribute modified code is granted,
  11. * provided the above notices are retained, and a notice that the code was
  12. * modified is included with the above copyright notice.
  13. */
  14. #ifndef _STLP_INTERNAL_CSTDARG
  15. #define _STLP_INTERNAL_CSTDARG
  16. #if defined (_STLP_USE_NEW_C_HEADERS)
  17. # if defined (_STLP_HAS_INCLUDE_NEXT)
  18. # include_next <cstdarg>
  19. # else
  20. # include _STLP_NATIVE_CPP_C_HEADER(cstdarg)
  21. # endif
  22. #else
  23. # include <stdarg.h>
  24. #endif
  25. #ifdef _STLP_IMPORT_VENDOR_CSTD
  26. _STLP_BEGIN_NAMESPACE
  27. using _STLP_VENDOR_CSTD::va_list;
  28. _STLP_END_NAMESPACE
  29. #endif /* _STLP_IMPORT_VENDOR_CSTD */
  30. #endif