redefine statvfs only for netbsd >= 3.0

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32762 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2011-04-01 16:29:18 +00:00
parent 91c7ca64c0
commit 81e5aa9539
2 changed files with 6 additions and 1 deletions

View file

@ -1106,7 +1106,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
non-standard f_basetype field, which provides the name of the
underlying file system type.
*/
#ifdef __NetBSD__
#if defined (__NetBSD__) && __NetBSD_Version__ >= 300000000
#define statfs statvfs
#define f_flags f_flag
#endif