Mercurial > libavformat.hg
changeset 6078:f23196c73178 libavformat
win32: Use _fstati64() instead of plain old fstat() on Windows to support file
sizes greater than 4gb.
Patch by kemuri <kemuri9 at gmail dot com>
author | ramiro |
---|---|
date | Thu, 03 Jun 2010 20:41:04 +0000 |
parents | 54d3a9240339 |
children | 4518f83661f4 |
files | os_support.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/os_support.h Thu Jun 03 20:31:29 2010 +0000 +++ b/os_support.h Thu Jun 03 20:41:04 2010 +0000 @@ -32,6 +32,8 @@ #if defined(__MINGW32__) && !defined(__MINGW32CE__) # include <fcntl.h> # define lseek(f,p,w) _lseeki64((f), (p), (w)) +# define stat _stati64 +# define fstat(f,s) _fstati64((f), (s)) #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */ static inline int is_dos_path(const char *path)