gio build failure on Irix



Hi all, 

The following patch was necessary to succesfully build glib-2.16.3 on SGI 
Irix. 


--- gio/glocalfile.c.orig       Mon Jun  2 19:32:45 2008
+++ gio/glocalfile.c    Mon Jun  2 19:32:48 2008
@@ -53,7 +53,7 @@
 #if defined(HAVE_STATFS) && defined(HAVE_STATVFS)
 /* Some systems have both statfs and statvfs, pick the
    most "native" for these */
-# if defined(sun) && defined(__SVR4)
+# if (defined(sun) && defined(__SVR4)) || defined(__sgi)
    /* on solaris, statfs doesn't even have the
       f_bavail field */
 #  define USE_STATVFS


Thanks in advance, 
Dimitris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]