[vlc-commits] commit: Don't use solaris incompatible fstatfs(fd, struct, int, int) ( Francois Cartegnie )

git at videolan.org git at videolan.org
Wed Apr 14 18:02:37 CEST 2010


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 14 16:53:17 2010 +0200| [e4393c59cb59b7ff31b239fd8048d36c5b8fc4e2] | committer: Rémi Denis-Courmont 

Don't use solaris incompatible fstatfs(fd, struct, int, int)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4393c59cb59b7ff31b239fd8048d36c5b8fc4e2
---

 modules/access/file.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index e20a1a6..b96f60b 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -39,6 +39,9 @@
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
 #endif
+#if defined(HAVE_FSTATFS) && defined(__SunOS)
+#   undef HAVE_FSTATFS
+#endif
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
 #endif



More information about the vlc-commits mailing list