summaryrefslogtreecommitdiff
path: root/src/xine-engine/io_helper.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-03-14 09:38:03 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-03-14 09:38:03 +0000
commit513b66997b1a0c4e804c13b6840ccd7a7de41ad9 (patch)
tree6e17ae5e4d93c4e229885cfd0173d99ff96956c6 /src/xine-engine/io_helper.c
parent3153a3a8519aacb14bc8af15c63176f10b54a4ec (diff)
downloadxine-lib-513b66997b1a0c4e804c13b6840ccd7a7de41ad9.tar.gz
xine-lib-513b66997b1a0c4e804c13b6840ccd7a7de41ad9.tar.bz2
Update WIN32 port:
- add stdint.h with INT16_MIN/MAX - apply forgotten change _MSC_VER -> HAVE_ICONV - get rid of some _MSC_VER - changed to WIN32 since it'll be used by MINGW too CVS patchset: 6249 CVS date: 2004/03/14 09:38:03
Diffstat (limited to 'src/xine-engine/io_helper.c')
-rw-r--r--src/xine-engine/io_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/io_helper.c b/src/xine-engine/io_helper.c
index f631a0736..9f14559b5 100644
--- a/src/xine-engine/io_helper.c
+++ b/src/xine-engine/io_helper.c
@@ -66,7 +66,7 @@ static int _x_io_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int p
return -1;
}
-#ifndef _MSC_VER
+#ifndef WIN32
if (fcntl (s, F_SETFL, fcntl (s, F_GETFL) | O_NONBLOCK) == -1) {
_x_message(stream, XINE_MSG_CONNECTION_REFUSED, "can't put socket in non-blocking mode", strerror(errno), NULL);
return -1;