On Mon, 18 Jun 2012, Mans Rullgard wrote:

From: "Ronald S. Bultje" <rsbul...@gmail.com>

---
libavformat/network.h |    8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/libavformat/network.h b/libavformat/network.h
index 72d01d2..5c70e2d 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -31,10 +31,18 @@
#include <winsock2.h>
#include <ws2tcpip.h>

+#ifndef EPROTONOSUPPORT
#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
+#endif
+#ifndef ETIMEDOUT
#define ETIMEDOUT       WSAETIMEDOUT
+#endif
+#ifndef ECONNREFUSED
#define ECONNREFUSED    WSAECONNREFUSED
+#endif
+#ifndef EINPROGRESS
#define EINPROGRESS     WSAEINPROGRESS
+#endif

int ff_neterrno(void);
#else
--
1.7.10.2

Ok

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to