diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-08-08 19:18:10 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-08-08 19:18:10 +0000 |
commit | 6ff3f3e7cec7cd78a01d0bf76cbccfbe68dc0894 (patch) | |
tree | 1583c4839515588850c3bb9041ab9909e3cc02f5 /libavformat/os_support.h | |
parent | 0bd5396778a28c989ae4fb08190bf4daf4f4ea0e (diff) | |
download | ffmpeg-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/os_support.h')
-rw-r--r-- | libavformat/os_support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 13615eec9e..30c069d78b 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -43,6 +43,9 @@ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); # define usleep(t) Sleep((t) / 1000) # include <fcntl.h> # define lseek(f,p,w) _lseeki64((f), (p), (w)) +#endif + +#ifdef HAVE_WINSOCK2_H # define HAVE_CLOSESOCKET 1 #endif |