[MPlayer-cvslog] r27506 - trunk/libvo/vo_bl.c

diego subversion at mplayerhq.hu
Mon Sep 1 09:35:05 CEST 2008


Author: diego
Date: Mon Sep  1 09:35:05 2008
New Revision: 27506

Log:
Put '#define closesocket close' under proper '#ifndef HAVE_CLOSESOCKET'
preprocessor condition.


Modified:
   trunk/libvo/vo_bl.c

Modified: trunk/libvo/vo_bl.c
==============================================================================
--- trunk/libvo/vo_bl.c	(original)
+++ trunk/libvo/vo_bl.c	Mon Sep  1 09:35:05 2008
@@ -35,7 +35,6 @@
 #include "config.h"
 
 #ifndef HAVE_WINSOCK2_H
-#define closesocket close
 #include <netdb.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -49,6 +48,10 @@
 #include "m_option.h"
 #include "fastmemcpy.h"
 
+#ifndef HAVE_CLOSESOCKET
+#define closesocket close
+#endif
+
 static const vo_info_t info = 
 {
 	"Blinkenlights driver: http://www.blinkenlights.de",



More information about the MPlayer-cvslog mailing list