diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-04-16 21:53:09 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-04-16 21:53:09 +0400 |
commit | db86a0517351079ff938053486e9f946393e4dbb (patch) | |
tree | 0da2659207272bfad5a1f01256bfe600be9fcb96 /source/blender/blenlib/intern/storage.c | |
parent | 867e12836b746b174743d0500e39343e1adb1b7f (diff) |
This is a patch from the FreeBSD people:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/blender/files/patch-source_blender_blenlib_intern-storage.c
Kent
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 9d70d85939e..f288dde5815 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -52,7 +52,7 @@ #if defined (__sun__) || defined (__sun) #include <sys/statvfs.h> /* Other modern unix os's should probably use this also */ -#elif !defined(linux) && (defined(__sgi) || defined(__sparc) || defined(__sparc__)) +#elif !defined(__FreeBSD__) && !defined(linux) && (defined(__sgi) || defined(__sparc) || defined(__sparc__)) #include <sys/statfs.h> #endif @@ -209,7 +209,7 @@ double BLI_diskfree(char *dir) #if defined (__sun__) || defined (__sun) if (statvfs(name, &disk)) return(-1); -#elif !defined(linux) && (defined (__sgi) || defined(__sparc) || defined(__sparc__)) +#elif !defined(__FreeBSD__) && !defined(linux) && (defined (__sgi) || defined(__sparc) || defined(__sparc__)) /* WARNING - This may not be supported by geeneric unix os's - Campbell */ if (statfs(name, &disk, sizeof(struct statfs), 0)) return(-1); #endif |