1999-08-26 09:30:50 +00:00
|
|
|
/* A replacement for Digital Unix's <va_list.h>. */
|
|
|
|
|
2002-02-01 18:16:02 +00:00
|
|
|
#ifndef __GNUC_VA_LIST
|
|
|
|
#define __GNUC_VA_LIST
|
|
|
|
typedef __builtin_va_list __gnuc_va_list;
|
|
|
|
#endif
|
1999-08-26 09:30:50 +00:00
|
|
|
|
|
|
|
#if !defined(_VA_LIST) && !defined(_HIDDEN_VA_LIST)
|
|
|
|
#define _VA_LIST
|
|
|
|
typedef __gnuc_va_list va_list;
|
|
|
|
|
|
|
|
#elif defined(_HIDDEN_VA_LIST) && !defined(_HIDDEN_VA_LIST_DONE)
|
|
|
|
#define _HIDDEN_VA_LIST_DONE
|
|
|
|
typedef __gnuc_va_list __va_list;
|
|
|
|
|
|
|
|
#elif defined(_HIDDEN_VA_LIST) && defined(_VA_LIST)
|
|
|
|
#undef _HIDDEN_VA_LIST
|
|
|
|
|
|
|
|
#endif
|