[vlc-devel] commit: Check for fstatfs (fixes: #3028) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Aug 6 18:55:31 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 6 19:54:45 2009 +0300| [f36fc38c5b91bc9f9e57ca65ba91a2ba9e19fd0a] | committer: Rémi Denis-Courmont
Check for fstatfs (fixes: #3028)
(cherry picked from commit 23414d63080d4f8a0feaf31652edffac8efcc2ab)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f36fc38c5b91bc9f9e57ca65ba91a2ba9e19fd0a
---
configure.ac | 4 ++--
modules/access/file.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index d96c618..3b1da08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -571,8 +571,8 @@ AC_CHECK_FUNCS(fdatasync,,
[AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
])
-dnl Check for Linux system calls
-AC_CHECK_FUNCS([vmsplice])
+dnl Check for non-standard system calls
+AC_CHECK_FUNCS([vmsplice fstatfs])
AH_BOTTOM([#include <vlc_fixups.h>])
diff --git a/modules/access/file.c b/modules/access/file.c
index 4e90071..ad111cb 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -50,11 +50,9 @@
#if defined (__linux__)
# include <sys/vfs.h>
# include <linux/magic.h>
-# define HAVE_FSTATFS 1
#elif defined (HAVE_SYS_MOUNT_H)
# include <sys/param.h>
# include <sys/mount.h>
-# define HAVE_FSTATFS 1
#endif
#if defined( WIN32 )
More information about the vlc-devel
mailing list