Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/dhcp Do the PTRSIZE_64BIT thing in the port-specifi...



details:   https://anonhg.NetBSD.org/src/rev/cb392399653b
branches:  trunk
changeset: 495348:cb392399653b
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Jul 26 14:41:23 2000 +0000

description:
Do the PTRSIZE_64BIT thing in the port-specific .h file instead.

diffstat:

 usr.sbin/dhcp/common/Makefile      |  5 -----
 usr.sbin/dhcp/includes/cf/netbsd.h |  2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r b68d41db3733 -r cb392399653b usr.sbin/dhcp/common/Makefile
--- a/usr.sbin/dhcp/common/Makefile     Wed Jul 26 13:53:33 2000 +0000
+++ b/usr.sbin/dhcp/common/Makefile     Wed Jul 26 14:41:23 2000 +0000
@@ -40,11 +40,6 @@
 MKPIC= no
 MKPROFILE=no
 
-.if ${MACHINE_ARCH} == "alpha" || \
-    ${MACHINE_ARCH} == "sparc64"
-CPPFLAGS+=-DPTRSIZE_64BIT
-.endif
-
 # only needed during build
 libinstall::
 
diff -r b68d41db3733 -r cb392399653b usr.sbin/dhcp/includes/cf/netbsd.h
--- a/usr.sbin/dhcp/includes/cf/netbsd.h        Wed Jul 26 13:53:33 2000 +0000
+++ b/usr.sbin/dhcp/includes/cf/netbsd.h        Wed Jul 26 14:41:23 2000 +0000
@@ -108,7 +108,7 @@
 #  include <net/if_types.h>
 #endif
 
-#ifdef __alpha__
+#if defined(__alpha__) || defined(__sparc_v9__)
 #define PTRSIZE_64BIT
 #endif
 



Home | Main Index | Thread Index | Old Index