va_list is "char *" on NetBSD's sparc64; conditionalize this, as the old

case was to use "void *" on __arch64__ being predefined.
This commit is contained in:
tv 2001-01-30 22:36:39 +00:00
parent 4e7ff09e27
commit 402b9b56e1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#if ! defined (__svr4__) && ! defined (__linux__) && ! defined (__arch64__)
#if ! defined (__svr4__) && ! defined (__linux__) && (defined(__NetBSD__) || ! defined(__arch64__))
/* This has to be a char * to be compatible with Sun.
i.e., we have to pass a `va_list' to vsprintf. */
typedef char * __gnuc_va_list;