From 9760599d9d95bf8f53e11420475ec83e0ea0f2e4 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 1 Apr 1999 05:16:32 +0000 Subject: [PATCH] Simplifying SCO case. git-svn-id: svn://10.0.0.236/trunk@25820 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/base/src/unix/nsFileSpecUnix.cpp | 7 +++---- mozilla/xpcom/io/nsFileSpecUnix.cpp | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/mozilla/base/src/unix/nsFileSpecUnix.cpp b/mozilla/base/src/unix/nsFileSpecUnix.cpp index 3b022d072f0..dab41c97758 100644 --- a/mozilla/base/src/unix/nsFileSpecUnix.cpp +++ b/mozilla/base/src/unix/nsFileSpecUnix.cpp @@ -31,16 +31,15 @@ #if defined(IRIX) || defined(OSF1) || defined(SOLARIS) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(DGUX) || defined(NTO) #include /* for statvfs() */ #define STATFS statvfs -#elif defined(SCO_SV) +#if defined(SCO_SV) #define _SVID3/* for statvfs.h */ -#include /* for statvfs() */ -#define STATFS statvfs +#endif /* SCO_SV */ #elif defined(HPUX) || defined(LINUX) #include /* for statfs() */ #define STATFS statfs #if defined(SUNOS4) extern "C" int statfs(char *, struct statfs *); -#endif +#endif /* SUNOS4 */ #else #if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY) || defined(FREEBSD) #include /* for statfs() */ diff --git a/mozilla/xpcom/io/nsFileSpecUnix.cpp b/mozilla/xpcom/io/nsFileSpecUnix.cpp index 3b022d072f0..dab41c97758 100644 --- a/mozilla/xpcom/io/nsFileSpecUnix.cpp +++ b/mozilla/xpcom/io/nsFileSpecUnix.cpp @@ -31,16 +31,15 @@ #if defined(IRIX) || defined(OSF1) || defined(SOLARIS) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(DGUX) || defined(NTO) #include /* for statvfs() */ #define STATFS statvfs -#elif defined(SCO_SV) +#if defined(SCO_SV) #define _SVID3/* for statvfs.h */ -#include /* for statvfs() */ -#define STATFS statvfs +#endif /* SCO_SV */ #elif defined(HPUX) || defined(LINUX) #include /* for statfs() */ #define STATFS statfs #if defined(SUNOS4) extern "C" int statfs(char *, struct statfs *); -#endif +#endif /* SUNOS4 */ #else #if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY) || defined(FREEBSD) #include /* for statfs() */