summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-09-04 08:21:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-09-04 08:21:27 +0000
commita17236c53cd3ffe1d4eceb3be82b39001c006b3f (patch)
tree0ba3c659d54fbe8edd2f27c791adf59a5fa36df5 /libavcodec
parentdafc3856d9c34d85a5c172c66d6a6e8ffa201b03 (diff)
downloadffmpeg-streaming-a17236c53cd3ffe1d4eceb3be82b39001c006b3f.zip
ffmpeg-streaming-a17236c53cd3ffe1d4eceb3be82b39001c006b3f.tar.gz
MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
Originally committed as revision 2203 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/os_support.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h
index 93930f0..ef895b1 100644
--- a/libavcodec/os_support.h
+++ b/libavcodec/os_support.h
@@ -12,7 +12,8 @@
#ifdef __MINGW32__
# undef DATADIR /* clashes with /usr/include/w32api/objidl.h */
-# include <windows.h>
+__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
+// # include <windows.h>
# define usleep(t) Sleep((t) / 1000)
#endif
OpenPOWER on IntegriCloud