Condensing the BSD case for STATFS #define

This commit is contained in:
mcafee%netscape.com 1998-10-02 00:59:50 +00:00
Родитель 3c196476ed
Коммит 3ab7277b94
1 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -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 *);