NetBSD/sys/arch/powerpc/include/varargs.h

25 lines
526 B
C
Raw Normal View History

2000-02-03 19:16:06 +03:00
/* $NetBSD: varargs.h,v 1.4 2000/02/03 16:16:09 kleink Exp $ */
1996-09-30 20:34:14 +04:00
1997-04-17 03:02:34 +04:00
#ifndef _PPC_VARARGS_H_
1996-09-30 20:34:14 +04:00
#define _PPC_VARARGS_H_
1997-04-17 03:02:34 +04:00
#include <machine/ansi.h>
2000-02-03 19:16:06 +03:00
#include <sys/featuretest.h>
1996-09-30 20:34:14 +04:00
1997-04-17 03:02:34 +04:00
#ifndef _VARARGS_H
#define _VARARGS_H
1996-09-30 20:34:14 +04:00
#endif
#include <powerpc/va-ppc.h>
1996-09-30 20:34:14 +04:00
1997-04-17 03:02:34 +04:00
typedef __gnuc_va_list va_list;
1996-09-30 20:34:14 +04:00
1997-04-17 03:02:34 +04:00
#undef _BSD_VA_LIST
1996-09-30 20:34:14 +04:00
2000-02-03 19:16:06 +03:00
#if !defined(_ANSI_SOURCE) && \
(!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \
defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L)
#define va_copy __va_copy
#endif
1997-04-17 03:02:34 +04:00
#endif /* ! _PPC_VARARGS_H_ */