diff stream/asf_streaming.c @ 27473:ae5da477539e

Move '#define closesocket close' preprocessor directive to a common place and put it under the proper '#ifndef HAVE_CLOSESOCKET' condition.
author diego
date Mon, 01 Sep 2008 07:31:57 +0000
parents c0b233cd30ca
children c884d17bd005
line wrap: on
line diff
--- a/stream/asf_streaming.c	Sun Aug 31 13:59:54 2008 +0000
+++ b/stream/asf_streaming.c	Mon Sep 01 07:31:57 2008 +0000
@@ -9,9 +9,7 @@
 #include "mp_msg.h"
 #include "help_mp.h"
 
-#ifndef HAVE_WINSOCK2_H
-#define closesocket close
-#else
+#ifdef HAVE_WINSOCK2_H
 #include <winsock2.h>
 #endif