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:
parent
dafc3856d9
commit
a17236c53c
3 changed files with 15 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue