Condensing the BSD case for STATFS #define
git-svn-id: svn://10.0.0.236/trunk@11733 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
767614a76e
commit
f5b9ebf9b3
@ -74,13 +74,8 @@ extern "C" char * _XmStringGetTextConcat(XmString);
|
||||
#include <sys/vfs.h> /* for statfs() */
|
||||
extern "C" int statfs(char *, struct statfs *);
|
||||
#define STATFS statfs
|
||||
#elif defined(BSDI)
|
||||
#include <sys/mount.h> /* for statfs() */
|
||||
#define STATFS statfs
|
||||
#elif defined(NETBSD)
|
||||
#include <sys/mount.h> /* for statfs() */
|
||||
#define STATFS statfs
|
||||
#elif defined(OPENBSD)
|
||||
#else
|
||||
#if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY)
|
||||
#include <sys/mount.h> /* for statfs() */
|
||||
#define STATFS statfs
|
||||
#else
|
||||
@ -88,6 +83,7 @@ extern "C" int statfs(char *, struct statfs *);
|
||||
#define STATFS statfs
|
||||
extern "C" int statfs(char *, struct statfs *);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(OSF1)
|
||||
extern "C" int statvfs(const char *, struct statvfs *);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user