зеркало из https://github.com/mozilla/pjs.git
Condensing the BSD case for STATFS #define
This commit is contained in:
Родитель
3c196476ed
Коммит
3ab7277b94
|
@ -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 *);
|
||||
|
|
Загрузка…
Ссылка в новой задаче