Revision: 17557
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17557
Author:   sgefant
Date:     2008-11-24 15:18:01 +0100 (Mon, 24 Nov 2008)

Log Message:
-----------
forgot file in previous commit

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/storage.c

Modified: trunk/blender/source/blender/blenlib/intern/storage.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/storage.c       2008-11-24 
14:16:04 UTC (rev 17556)
+++ trunk/blender/source/blender/blenlib/intern/storage.c       2008-11-24 
14:18:01 UTC (rev 17557)
@@ -47,9 +47,9 @@
 #include <time.h>
 #include <sys/stat.h>
 
-#if defined (__sun__) || defined (__sun)
+#if defined (__sun__) || defined (__sun) || defined (__sgi)
 #include <sys/statvfs.h> /* Other modern unix os's should probably use this 
also */
-#elif !defined(__FreeBSD__) && !defined(linux) && (defined(__sgi) || 
defined(__sparc) || defined(__sparc__))
+#elif !defined(__FreeBSD__) && !defined(linux) && (defined(__sparc) || 
defined(__sparc__))
 #include <sys/statfs.h>
 #endif
 
@@ -179,7 +179,7 @@
        return (double) (freec*bytesps*sectorspc);
 #else
 
-#if defined (__sun__) || defined (__sun)
+#if defined (__sun__) || defined (__sun) || defined (__sgi)
        struct statvfs disk;
 #else
        struct statfs disk;
@@ -206,7 +206,7 @@
 
 #if defined (__sun__) || defined (__sun)
        if (statvfs(name, &disk)) return(-1);   
-#elif !defined(__FreeBSD__) && !defined(linux) && (defined (__sgi) || 
defined(__sparc) || defined(__sparc__))
+#elif !defined(__FreeBSD__) && !defined(linux) && (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


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to