mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
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
This commit is contained in:
parent
d951bb9a5c
commit
acb3b537f3
@ -27,6 +27,7 @@
|
|||||||
* miscellaneous OS support macros and functions.
|
* miscellaneous OS support macros and functions.
|
||||||
*
|
*
|
||||||
* - usleep() (Win32, BeOS, OS/2)
|
* - usleep() (Win32, BeOS, OS/2)
|
||||||
|
* - lseek() (Win32)
|
||||||
* - floatf() (OS/2)
|
* - floatf() (OS/2)
|
||||||
* - strcasecmp() (OS/2)
|
* - strcasecmp() (OS/2)
|
||||||
*/
|
*/
|
||||||
@ -35,6 +36,8 @@
|
|||||||
__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
|
__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
|
||||||
// # include <windows.h>
|
// # include <windows.h>
|
||||||
# define usleep(t) Sleep((t) / 1000)
|
# define usleep(t) Sleep((t) / 1000)
|
||||||
|
# include <fcntl.h>
|
||||||
|
# define lseek(f,p,w) _lseeki64((f), (p), (w))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __BEOS__
|
#ifdef __BEOS__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user