[rtmpdump] r334 - trunk/librtmp/rtmp.h
hyc
subversion at mplayerhq.hu
Sat Mar 13 00:53:09 CET 2010
Author: hyc
Date: Sat Mar 13 00:53:08 2010
New Revision: 334
Log:
Don't #define closesocket if someone else has
Modified:
trunk/librtmp/rtmp.h
Modified: trunk/librtmp/rtmp.h
==============================================================================
--- trunk/librtmp/rtmp.h Fri Mar 12 08:38:17 2010 (r333)
+++ trunk/librtmp/rtmp.h Sat Mar 13 00:53:08 2010 (r334)
@@ -45,7 +45,9 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#define GetSockError() errno
+#ifndef closesocket
#define closesocket(s) close(s)
+#endif
#define msleep(n) usleep(n*1000)
#define SET_RCVTIMEO(tv,s) struct timeval tv = {s,0}
#endif
More information about the rtmpdump
mailing list