diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-09-04 08:21:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-09-04 08:21:27 +0000 |
commit | a17236c53cd3ffe1d4eceb3be82b39001c006b3f (patch) | |
tree | 0ba3c659d54fbe8edd2f27c791adf59a5fa36df5 /libavcodec | |
parent | dafc3856d9c34d85a5c172c66d6a6e8ffa201b03 (diff) | |
download | ffmpeg-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/os_support.h b/libavcodec/os_support.h index 93930f03ba..ef895b1d51 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 |