summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2007-02-15 13:32:06 +0000
committerFrançois Revol <revol@free.fr>2007-02-15 13:32:06 +0000
commit36c07acd595288c2747d491993d044b81593b00c (patch)
tree7a458ab09b459fe6b7e89c90a745ef3155ff8699 /libavformat/os_support.h
parent5286d11fcd177f274ae69905eb8f43164ee5d0ec (diff)
downloadffmpeg-36c07acd595288c2747d491993d044b81593b00c.tar.gz
MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.
Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index f65755ad30..34c2fabcd3 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -32,7 +32,7 @@
* - floatf() (OS/2)
* - strcasecmp() (OS/2)
* - closesocket()
- * - poll() (BeOS)
+ * - poll() (BeOS, MinGW)
*/
#if defined(__BEOS__) || defined(__INNOTEK_LIBC__)
@@ -45,11 +45,7 @@ __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
-
-/* XXX: check for Winsock here */
-#if 0
-#define HAVE_CLOSESOCKET 1
+# define HAVE_CLOSESOCKET 1
#endif
#ifdef __BEOS__