diff network.h @ 2322:fb72d949bae3 libavformat

Check for winsock2.h instead of __MINGW32__
author ramiro
date Wed, 08 Aug 2007 19:18:10 +0000
parents 8fc44b349f59
children b9a881c0967e
line wrap: on
line diff
--- a/network.h	Wed Aug 08 12:08:16 2007 +0000
+++ b/network.h	Wed Aug 08 19:18:10 2007 +0000
@@ -21,7 +21,7 @@
 #ifndef NETWORK_H
 #define NETWORK_H
 
-#ifdef __MINGW32__
+#ifdef HAVE_WINSOCK2_H
 #include <winsock2.h>
 #include <ws2tcpip.h>