OSF1 fixes from [ 938867 ] Misc porting patches
by Marc W. Mengel git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@806 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
6f2d102c28
commit
bc994e9a9b
6
disk.c
6
disk.c
@ -66,6 +66,12 @@
|
|||||||
#define STATFS_T statvfs
|
#define STATFS_T statvfs
|
||||||
#define F_NAMELEN(buf) ((buf).f_namemax)
|
#define F_NAMELEN(buf) ((buf).f_namemax)
|
||||||
|
|
||||||
|
#elif (defined(__alpha) && !defined(linux))
|
||||||
|
#include <sys/mount.h> /* osf1 statfs */
|
||||||
|
#define STATFS_FN(path, buf) (statfs(path,buf,sizeof(buf)))
|
||||||
|
#define STATFS_T statfs
|
||||||
|
#define F_NAMELEN(buf) (255)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include <sys/vfs.h> /* linux statfs */
|
#include <sys/vfs.h> /* linux statfs */
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user