Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/ginclude va_list is "char *" on NetBS...



details:   https://anonhg.NetBSD.org/src/rev/baf4b646d40f
branches:  trunk
changeset: 503078:baf4b646d40f
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Jan 30 22:36:39 2001 +0000

description:
va_list is "char *" on NetBSD's sparc64; conditionalize this, as the old
case was to use "void *" on __arch64__ being predefined.

diffstat:

 gnu/dist/toolchain/gcc/ginclude/va-sparc.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a72dd16559f8 -r baf4b646d40f gnu/dist/toolchain/gcc/ginclude/va-sparc.h
--- a/gnu/dist/toolchain/gcc/ginclude/va-sparc.h        Tue Jan 30 22:24:31 2001 +0000
+++ b/gnu/dist/toolchain/gcc/ginclude/va-sparc.h        Tue Jan 30 22:36:39 2001 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index