mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Check for winsock2.h instead of __MINGW32__
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user