summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++
diff options
context:
space:
mode:
authorjonathan <jonathan@NetBSD.org>1998-02-26 02:26:27 +0000
committerjonathan <jonathan@NetBSD.org>1998-02-26 02:26:27 +0000
commit12986acb083ae574883388bae8ea40ebf2fd36bc (patch)
treeb36d12e06b7e99f9f49b289ba6ae5d7650c7d17e /gnu/lib/libg++
parent597e2701ac9580ae2b19a6c91f38416a98549906 (diff)
Mips uses ELF. Add !defined(__mips) to the toolchain-dependent
``#ifndef __alpha''s in _G_config.h and to the source in libg++2netbsd.
Diffstat (limited to 'gnu/lib/libg++')
-rw-r--r--gnu/lib/libg++/libg++2netbsd14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/lib/libg++/libg++2netbsd b/gnu/lib/libg++/libg++2netbsd
index 9c8aed99517..a9611c6aecd 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.23 1997/10/25 09:27:11 lukem Exp $
+# $NetBSD: libg++2netbsd,v 1.24 1998/02/26 02:26:27 jonathan Exp $
#
# Perl script to convert a standard distribution directory for libg++ into
# a NetBSD source tree.
@@ -571,17 +571,17 @@ DPADD= ${DESTDIR}/usr/lib/c++rt0.o
#ifndef _G_config_h
#define _G_config_h
#define _G_LIB_VERSION "2.7.2"
-#ifndef __alpha__
+#if ! defined(__alpha__) && !defined(__mips) /* ELF */
#define _G_NAMES_HAVE_UNDERSCORE 1
-#else /* __alpha__ */
+#else /* ELF */
#define _G_NAMES_HAVE_UNDERSCORE 0
-#endif /* __alpha__ */
+#endif /* ELF */
#define _G_VTABLE_LABEL_HAS_LENGTH 1
-#ifndef __alpha__
+#if ! defined(__alpha__) && !defined(__mips) /* ELF */
#define _G_VTABLE_LABEL_PREFIX "__vt$"
-#else /* __alpha__ */
+#else /* ELF */
#define _G_VTABLE_LABEL_PREFIX "_vt$"
-#endif /* __alpha__ */
+#endif /* ELF */
#define _G_HAVE_ST_BLKSIZE 1
#ifndef __alpha__
typedef unsigned long _G_clock_t;