From 513b66997b1a0c4e804c13b6840ccd7a7de41ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 14 Mar 2004 09:38:03 +0000 Subject: 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 --- src/xine-engine/io_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xine-engine/io_helper.c') 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; -- cgit v1.2.3