1998-08-31 09:59:22 -04:00
|
|
|
/* A replacement for Digital Unix's <va_list.h>. */
|
|
|
|
|
1999-09-14 22:09:41 -04:00
|
|
|
#ifndef __GNUC_VA_LIST
|
|
|
|
#define __GNUC_VA_LIST
|
|
|
|
typedef __builtin_va_list __gnuc_va_list;
|
|
|
|
#endif
|
1998-08-31 09:59:22 -04: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
|