From f58e52ba6e5b99f47311743a95be7e6916b7b2df Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 4 Feb 2007 16:08:29 +0000 Subject: [PATCH] Use defined() syntax instead without (). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22132 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/tcp.c b/stream/tcp.c index 425598465e..a9b868c4d0 100644 --- a/stream/tcp.c +++ b/stream/tcp.c @@ -86,7 +86,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) { return TCP_ERROR_FATAL; } -#if defined SO_RCVTIMEO && defined SO_SNDTIMEO +#if defined(SO_RCVTIMEO) && defined(SO_SNDTIMEO) tv.tv_sec = 10; tv.tv_usec = 0; setsockopt(socket_server_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));