summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-24 14:06:18 +0200
committerwm4 <wm4@nowhere>2014-05-24 16:17:52 +0200
commit8665f7801837ac29f0171437e1c1cb7d6d51e410 (patch)
tree16b5a8aa7f1527630d58fb6690d57c0d58172ecb /wscript
parentaa87c143cb369f1448f8d08086b5ef98998b4436 (diff)
downloadmpv-8665f7801837ac29f0171437e1c1cb7d6d51e410.tar.bz2
mpv-8665f7801837ac29f0171437e1c1cb7d6d51e410.tar.xz
stream_file: readjust some windows ifdeffery
Also sneak in some cosmetics. setmode() exists on Windows/msvcrt only, so there's no need for a config test. I couldn't reproduce the problem with seekable pipes on wine, so axe it. (I'm aware that it still could be an issue on real Windows.)
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 0 insertions, 4 deletions
diff --git a/wscript b/wscript
index a5f156b93f..6a6369f99c 100644
--- a/wscript
+++ b/wscript
@@ -198,10 +198,6 @@ iconv support use --disable-iconv.",
'deps_any': [ 'os-win32', 'os-cygwin' ],
'func': check_true
}, {
- 'name': 'setmode',
- 'desc': 'setmode()',
- 'func': check_statement('io.h', 'setmode(0, 0)')
- }, {
'name': 'bsd-fstatfs',
'desc': "BSD's fstatfs()",
'func': check_statement(['sys/param.h', 'sys/mount.h'],