summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-01 13:16:46 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-01 13:16:46 +0000
commitbe5f5c7046f896ca16d7b4656c192f64c6d2e226 (patch)
tree3735dabe3367786e6f034e15497d9e986ad100d6 /stream
parent85eac18b0a1746361201a967d0b91c1243b20b79 (diff)
downloadmpv-be5f5c7046f896ca16d7b4656c192f64c6d2e226.tar.bz2
mpv-be5f5c7046f896ca16d7b4656c192f64c6d2e226.tar.xz
Convert HAVE_CLOSESOCKET and HAVE_SOCKLEN_T into 0/1 definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28434 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/network.h b/stream/network.h
index 36b470dfe4..5c41ddc70c 100644
--- a/stream/network.h
+++ b/stream/network.h
@@ -22,10 +22,10 @@
#include "url.h"
#include "http.h"
-#ifndef HAVE_CLOSESOCKET
+#if !HAVE_CLOSESOCKET
#define closesocket close
#endif
-#ifndef HAVE_SOCKLEN_T
+#if !HAVE_SOCKLEN_T
typedef int socklen_t;
#endif