]> granicus.if.org Git - rtmpdump/commitdiff
Tweak prev commit
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Fri, 12 Mar 2010 23:53:41 +0000 (23:53 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Fri, 12 Mar 2010 23:53:41 +0000 (23:53 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@335 400ebc74-4327-4243-bc38-086b20814532

librtmp/rtmp.h

index 33665cf2f87669fdb81825d21164b96849491141..ba0cd29b1cdaa050d0d98e1a6fc42ec920e159a4 100644 (file)
@@ -45,9 +45,8 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #define GetSockError() errno
-#ifndef closesocket
+#undef closesocket
 #define closesocket(s) close(s)
-#endif
 #define msleep(n)      usleep(n*1000)
 #define SET_RCVTIMEO(tv,s)     struct timeval tv = {s,0}
 #endif