[rtmpdump] r80 - trunk/rtmp.c

hyc subversion at mplayerhq.hu
Thu Dec 17 02:12:49 CET 2009


Author: hyc
Date: Thu Dec 17 02:12:49 2009
New Revision: 80

Log:
More MinGW stuff

Modified:
   trunk/rtmp.c

Modified: trunk/rtmp.c
==============================================================================
--- trunk/rtmp.c	Thu Dec 17 02:10:04 2009	(r79)
+++ trunk/rtmp.c	Thu Dec 17 02:12:49 2009	(r80)
@@ -31,6 +31,8 @@
 #include <winsock.h>
 #define close(x)	closesocket(x)
 #define setsockopt(a,b,c,d,e)	(setsockopt)(a,b,c,(const char *)d,(int)e)
+#define	EWOULDBLOCK	EAGAIN
+#define	sleep(n)	Sleep(n*1000)
 #else
 #include <sys/socket.h>
 #include <netinet/in.h>


More information about the rtmpdump mailing list