diff os_support.h @ 2322:fb72d949bae3 libavformat

Check for winsock2.h instead of __MINGW32__
author ramiro
date Wed, 08 Aug 2007 19:18:10 +0000
parents 2ec2d6dca26e
children 43b803972ffd
line wrap: on
line diff
--- a/os_support.h	Wed Aug 08 12:08:16 2007 +0000
+++ b/os_support.h	Wed Aug 08 19:18:10 2007 +0000
@@ -43,6 +43,9 @@
 #  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