Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/svr4 __LP64__ -> _LP64



details:   https://anonhg.NetBSD.org/src/rev/afc5914b6b18
branches:  trunk
changeset: 526390:afc5914b6b18
user:      eeh <eeh%NetBSD.org@localhost>
date:      Fri May 03 01:34:48 2002 +0000

description:
__LP64__ -> _LP64

diffstat:

 sys/compat/svr4/svr4_stat.h  |  16 ++++++++--------
 sys/compat/svr4/svr4_types.h |  10 ++--------
 2 files changed, 10 insertions(+), 16 deletions(-)

diffs (98 lines):

diff -r eba5446db14f -r afc5914b6b18 sys/compat/svr4/svr4_stat.h
--- a/sys/compat/svr4/svr4_stat.h       Fri May 03 01:22:30 2002 +0000
+++ b/sys/compat/svr4/svr4_stat.h       Fri May 03 01:34:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_stat.h,v 1.8 2001/02/21 23:53:02 eeh Exp $         */
+/*     $NetBSD: svr4_stat.h,v 1.9 2002/05/03 01:34:48 eeh Exp $         */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
 
 struct svr4_xstat {
        svr4_dev_t              st_dev;
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad1[3];
 #endif
        svr4_ino_t              st_ino;
@@ -67,11 +67,11 @@
        svr4_uid_t              st_uid;
        svr4_gid_t              st_gid;
        svr4_dev_t              st_rdev;
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad2[2];
 #endif
        svr4_off_t              st_size;
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad3;
 #endif
        svr4_timestruc_t        st_atim;
@@ -81,14 +81,14 @@
        int                     st_blksize;
        svr4_blkcnt_t           st_blocks;
        char                    st_fstype[16];
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad4[8];
 #endif
 };
 
 struct svr4_stat64 {
        svr4_dev_t              st_dev;
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad1[3];
 #endif
        svr4_ino64_t            st_ino;
@@ -97,7 +97,7 @@
        svr4_uid_t              st_uid;
        svr4_gid_t              st_gid;
        svr4_dev_t              st_rdev;
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad2[2];
 #endif
        svr4_off64_t            st_size;
@@ -107,7 +107,7 @@
        int                     st_blksize;
        svr4_blkcnt64_t         st_blocks;
        char                    st_fstype[16];
-#ifndef __LP64__
+#ifndef _LP64
        long                    st_pad4[8];
 #endif
 };
diff -r eba5446db14f -r afc5914b6b18 sys/compat/svr4/svr4_types.h
--- a/sys/compat/svr4/svr4_types.h      Fri May 03 01:22:30 2002 +0000
+++ b/sys/compat/svr4/svr4_types.h      Fri May 03 01:34:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_types.h,v 1.12 2001/02/21 23:53:02 eeh Exp $       */
+/*     $NetBSD: svr4_types.h,v 1.13 2002/05/03 01:34:49 eeh Exp $       */
 
 /*-
  * Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -39,12 +39,6 @@
 #ifndef        _SVR4_TYPES_H_
 #define        _SVR4_TYPES_H_
 
-#ifndef __LP64__
-#if defined(__alpha__) || defined(__sparc_v9__)
-#define        __LP64__        1
-#endif
-#endif
-
 typedef u_quad_t        svr4_ino64_t;
 typedef quad_t          svr4_off64_t;
 typedef quad_t          svr4_blkcnt64_t;
@@ -77,7 +71,7 @@
 typedef long            svr4_clock_t;
 typedef int             svr4_key_t;
 
-#ifdef __LP64__
+#ifdef _LP64
 /*
  * Solaris uses a `long' time_t.
  */



Home | Main Index | Thread Index | Old Index