diff options
author | Ramiro Polla | 2006-12-22 23:44:04 +0000 |
---|---|---|
committer | Diego Biurrun | 2006-12-22 23:44:04 +0000 |
commit | acb3b537f3604389b720d1f886d0937ffbcc875a (patch) | |
tree | d5e69f9ac6cde0eac8965b8549d7962ab2852026 /libavformat/os_support.h | |
parent | d951bb9a5c4ff8e45ade4a1413e0aa5f3b73c5a3 (diff) |
support files >2GB on MinGW
patch by Ramiro Polla, angustia arrozcru.no-ip org
Originally committed as revision 7362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r-- | libavformat/os_support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index e76a9aaaf7..88d07ef50c 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -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__ |