diff options
| author | thorpej <thorpej@NetBSD.org> | 1997-04-20 20:20:12 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1997-04-20 20:20:12 +0000 |
| commit | 9d7af91ffa316c4a06b74a765f9dbc16c304c182 (patch) | |
| tree | 209291049ae55f6563992165d5a5bc0d132da503 /gnu/lib/libg++ | |
| parent | b9f22ef8f34679a0084e5b94ccc0ef5734e26811 (diff) | |
Fix a botch in the last change made (to accomodate the PowerPC), pointed
out by Chris Demetriou <cgd@netbsd.org>
Diffstat (limited to 'gnu/lib/libg++')
| -rw-r--r-- | gnu/lib/libg++/libg++2netbsd | 7 | ||||
| -rw-r--r-- | gnu/lib/libg++/libio/_G_config.h | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gnu/lib/libg++/libg++2netbsd b/gnu/lib/libg++/libg++2netbsd index 92ded2bedc4..52dd71c711e 100644 --- a/gnu/lib/libg++/libg++2netbsd +++ b/gnu/lib/libg++/libg++2netbsd @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # -# $NetBSD: libg++2netbsd,v 1.19 1997/04/16 20:42:46 thorpej Exp $ +# $NetBSD: libg++2netbsd,v 1.20 1997/04/20 20:20:12 thorpej Exp $ # # Perl script to convert a standard distribution directory for libg++ into # a NetBSD source tree. @@ -631,7 +631,11 @@ typedef int _G_wchar_t; #ifndef __alpha__ typedef int _G_ssize_t; typedef int /* default */ _G_wint_t; +#ifndef __powerpc__ typedef char * _G_va_list; +#else +#define _G_NEED_STDARG_H 1 +#endif /* __powerpc__ */ #else /* __alpha__ */ typedef long _G_ssize_t; typedef unsigned int /* default */ _G_wint_t; @@ -683,7 +687,6 @@ typedef unsigned int _G_uint32_t; #define _G_HAVE_CURSES 1 #define _G_MATH_H_INLINES 0 #define _G_HAVE_BOOL 1 -#define _G_NEED_STDARG_H 1 #endif /* !_G_config_h */ %% file libg++/src/shlib_version major=4 diff --git a/gnu/lib/libg++/libio/_G_config.h b/gnu/lib/libg++/libio/_G_config.h index d240983c56f..2344d3d5d6a 100644 --- a/gnu/lib/libg++/libio/_G_config.h +++ b/gnu/lib/libg++/libio/_G_config.h @@ -62,7 +62,11 @@ typedef int _G_wchar_t; #ifndef __alpha__ typedef int _G_ssize_t; typedef int /* default */ _G_wint_t; +#ifndef __powerpc__ typedef char * _G_va_list; +#else +#define _G_NEED_STDARG_H 1 +#endif /* __powerpc__ */ #else /* __alpha__ */ typedef long _G_ssize_t; typedef unsigned int /* default */ _G_wint_t; @@ -114,5 +118,4 @@ typedef unsigned int _G_uint32_t; #define _G_HAVE_CURSES 1 #define _G_MATH_H_INLINES 0 #define _G_HAVE_BOOL 1 -#define _G_NEED_STDARG_H 1 #endif /* !_G_config_h */ |
