Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin Approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/aeca72a5675c
branches: netbsd-1-5
changeset: 488743:aeca72a5675c
user: mycroft <mycroft%NetBSD.org@localhost>
date: Wed Jul 26 23:14:17 2000 +0000
description:
Approved by thorpej:
Add compilation support for sparc64.
basesrc/usr.sbin/dhcp/includes/cf/netbsd.h 1.3 -> 1.4
basesrc/usr.sbin/tcpdump/interface.h 1.12 -> 1.13
diffstat:
usr.sbin/dhcp/includes/cf/netbsd.h | 2 +-
usr.sbin/tcpdump/interface.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r c438db1e58a3 -r aeca72a5675c usr.sbin/dhcp/includes/cf/netbsd.h
--- a/usr.sbin/dhcp/includes/cf/netbsd.h Wed Jul 26 23:13:30 2000 +0000
+++ b/usr.sbin/dhcp/includes/cf/netbsd.h Wed Jul 26 23:14:17 2000 +0000
@@ -108,7 +108,7 @@
# include <net/if_types.h>
#endif
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc_v9__)
#define PTRSIZE_64BIT
#endif
diff -r c438db1e58a3 -r aeca72a5675c usr.sbin/tcpdump/interface.h
--- a/usr.sbin/tcpdump/interface.h Wed Jul 26 23:13:30 2000 +0000
+++ b/usr.sbin/tcpdump/interface.h Wed Jul 26 23:14:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interface.h,v 1.12 1999/12/10 05:45:07 itojun Exp $ */
+/* $NetBSD: interface.h,v 1.12.4.1 2000/07/26 23:14:17 mycroft Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -132,7 +132,7 @@
* XXX This is a really ugly hack, but the preprocessor simply doesn't
* know whether it's running on a 32- or 64-bit machine.
*/
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc_v9__)
#define INT64_FORMAT "%ld"
#define U_INT64_FORMAT "%lu"
#define HEX_INT64_FORMAT "%lx"
Home |
Main Index |
Thread Index |
Old Index