Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Argh. That should be "_LP64", not "LP64". Many, ma...



details:   https://anonhg.NetBSD.org/src/rev/3118e6e5cb3e
branches:  trunk
changeset: 559868:3118e6e5cb3e
user:      atatat <atatat%NetBSD.org@localhost>
date:      Thu Mar 25 00:23:49 2004 +0000

description:
Argh.  That should be "_LP64", not "LP64".  Many, many thanks to martin
for helping with this and verifying the netbsd32 compat fix.

diffstat:

 sys/sys/sysctl.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fc7c8a58e8b7 -r 3118e6e5cb3e sys/sys/sysctl.h
--- a/sys/sys/sysctl.h  Wed Mar 24 23:51:18 2004 +0000
+++ b/sys/sys/sysctl.h  Thu Mar 25 00:23:49 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.h,v 1.113 2004/03/24 17:40:02 atatat Exp $      */
+/*     $NetBSD: sysctl.h,v 1.114 2004/03/25 00:23:49 atatat Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -1047,7 +1047,7 @@
  * padding makes alignment magically "work" for 32/64 compatibility at
  * the expense of making things bigger on 32 bit platforms.
  */
-#if defined(LP64) || (BYTE_ORDER == LITTLE_ENDIAN)
+#if defined(_LP64) || (BYTE_ORDER == LITTLE_ENDIAN)
 #define __sysc_pad(type) union { uint64_t __sysc_upad; \
        struct { type __sysc_sdatum; } __sysc_ustr; }
 #else



Home | Main Index | Thread Index | Old Index