diff options
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 |