aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/network.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-08-08 19:18:10 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-08-08 19:18:10 +0000
commit6ff3f3e7cec7cd78a01d0bf76cbccfbe68dc0894 (patch)
tree1583c4839515588850c3bb9041ab9909e3cc02f5 /libavformat/network.h
parent0bd5396778a28c989ae4fb08190bf4daf4f4ea0e (diff)
downloadffmpeg-6ff3f3e7cec7cd78a01d0bf76cbccfbe68dc0894.tar.gz
Check for winsock2.h instead of __MINGW32__
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 723b4f9536..37606ee98d 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -21,7 +21,7 @@
#ifndef NETWORK_H
#define NETWORK_H
-#ifdef __MINGW32__
+#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>