Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2004-03-06 22:32:33 +0300
committerKent Mein <mein@cs.umn.edu>2004-03-06 22:32:33 +0300
commit9ed44360585ce8bd1008d8609ffdae55b8008bec (patch)
tree7452807d925204d4edd7a6b06fd504527d8bcad2 /source/blender/blenlib/intern/storage.c
parentb5ae8a30a22738ac9bbeae1bdbff33a5c24ed8ac (diff)
Updated the Sun ifdef's basically I standardized them so they
were all the same and make sure all platforms see them. Kent
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r--source/blender/blenlib/intern/storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index e6319a22ba8..a71a470777c 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -56,7 +56,7 @@
#include <time.h>
#include <sys/stat.h>
-#if defined(__sgi) || defined(__sun__) || defined(__sun)
+#if defined(__sgi) || defined(__sun__) || defined(__sun) || defined(__sparc) || defined(__sparc__)
#include <sys/statfs.h>
#endif
@@ -199,7 +199,7 @@ double BLI_diskfree(char *dir)
#ifdef __BeOS
return -1;
#endif
-#if defined __sgi || defined __sun__
+#if defined (__sgi) || defined (__sun__) || defined (__sun) || defined(__sparc) || defined(__sparc__)
if (statfs(name, &disk, sizeof(struct statfs), 0)){
/* printf("diskfree: Couldn't get information about %s.\n",dir); */