diff options
author | mike <mike@FreeBSD.org> | 2002-10-06 22:02:06 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-06 22:02:06 +0000 |
commit | 9da14c0f1d53b5217ff88d8939ad878a78832d5f (patch) | |
tree | ca6903df0e58804bc5eee0317f884aa8862f4ee2 /sys/powerpc/include | |
parent | 11edf68c645f68e33d4e6b998494665a80ffa3da (diff) | |
download | FreeBSD-src-9da14c0f1d53b5217ff88d8939ad878a78832d5f.zip FreeBSD-src-9da14c0f1d53b5217ff88d8939ad878a78832d5f.tar.gz |
Add conditionals to allow va_list to be defined in other headers.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/varargs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/include/varargs.h b/sys/powerpc/include/varargs.h index 6ac271a..26d8a93 100644 --- a/sys/powerpc/include/varargs.h +++ b/sys/powerpc/include/varargs.h @@ -35,7 +35,11 @@ #include <sys/_types.h> +#ifndef _VA_LIST_DECLARED +#define _VA_LIST_DECLARED typedef __va_list va_list; +#endif + typedef int __builtin_va_alist_t __attribute__((__mode__(__word__))); #define va_alist __builtin_va_alist |