From 8665f7801837ac29f0171437e1c1cb7d6d51e410 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 24 May 2014 14:06:18 +0200 Subject: 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.) --- wscript | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index a5f156b93f..6a6369f99c 100644 --- a/wscript +++ b/wscript @@ -197,10 +197,6 @@ iconv support use --disable-iconv.", 'deps_neg': [ 'glob' ], '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()", -- cgit v1.2.3