diff options
author | Jim Meyering <jim@meyering.net> | 1996-12-07 19:03:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-12-07 19:03:13 +0000 |
commit | c9893d18e31b68783d7d98f13261096ddf5f0c10 (patch) | |
tree | 56c62f6377a1ddae99a0e404b73f023fa9f32881 /lib | |
parent | fb1f09c76e64bca2715a3a5481daf14565647afa (diff) | |
download | coreutils-c9893d18e31b68783d7d98f13261096ddf5f0c10.tar.xz |
[__SVR4]: Define SVR4.
Remove duplicate `|| defined(SVR4)' disjunct guarding the
#define KERNEL_FILE "/unix" definiton.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getloadavg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/getloadavg.c b/lib/getloadavg.c index dae189ffe..db2cdfe6e 100644 --- a/lib/getloadavg.c +++ b/lib/getloadavg.c @@ -149,6 +149,10 @@ extern int errno; #define decstation #endif +#if defined (__SVR4) && !defined (SVR4) +#define SVR4 +#endif + #if (defined(sun) && defined(SVR4)) || defined (SOLARIS2) #define SUNOS_5 #endif @@ -362,7 +366,7 @@ extern int errno; #define KERNEL_FILE "/hp-ux" #endif -#if !defined(KERNEL_FILE) && (defined(_SEQUENT_) || defined(MIPS) || defined(SVR4) || defined(ISC) || defined (sgi) || defined(SVR4) || (defined (ardent) && defined (titan))) +#if !defined(KERNEL_FILE) && (defined(_SEQUENT_) || defined(MIPS) || defined(SVR4) || defined(ISC) || defined (sgi) || (defined (ardent) && defined (titan))) #define KERNEL_FILE "/unix" #endif |