mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
stream_file: network file system detection for Linux
Addresses issue #558 on Linux systems. Signed-off-by: wm4 <wm4@nowhere>
This commit is contained in:
5
wscript
5
wscript
@@ -201,6 +201,11 @@ iconv support use --disable-iconv.",
|
||||
'desc': "BSD's fstatfs()",
|
||||
'func': check_statement(['sys/param.h', 'sys/mount.h'],
|
||||
'struct statfs fs; fstatfs(0, &fs)')
|
||||
}, {
|
||||
'name': 'linux-fstatfs',
|
||||
'desc': "Linux's fstatfs()",
|
||||
'func': check_statement('sys/vfs.h',
|
||||
'struct statfs fs; fstatfs(0, &fs); fs.f_namelen')
|
||||
}, {
|
||||
'name': 'sys-sysinfo-h',
|
||||
'desc': 'sys/sysinfo.h',
|
||||
|
||||
Reference in New Issue
Block a user