Commit fee17a19 authored by diego's avatar diego

support files >2GB on MinGW

patch by Ramiro Polla, angustia arrozcru.no-ip org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7362 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f27c0997
......@@ -27,6 +27,7 @@
* miscellaneous OS support macros and functions.
*
* - usleep() (Win32, BeOS, OS/2)
* - lseek() (Win32)
* - floatf() (OS/2)
* - strcasecmp() (OS/2)
*/
......@@ -35,6 +36,8 @@
__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
// # include <windows.h>
# define usleep(t) Sleep((t) / 1000)
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
#endif
#ifdef __BEOS__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment