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:
rmottola 2011-04-01 16:29:18 +00:00
parent 02f8b9c21a
commit 99c853705c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-03-31 Riccardo Mottola <rm@gnu.org>
* Source/NSWorkspace.m
Redefine statfs only for netbsd >= 3
2011-03-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSTableView.h,

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