MingW patches by (Glenn Maynard <g_sf at zewt dot org>)

Originally committed as revision 2203 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-09-04 08:21:27 +00:00
parent dafc3856d9
commit a17236c53c
3 changed files with 15 additions and 2 deletions

View file

@ -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