Closed GoogleCodeExporter closed 9 years ago
To reproduce
git clone http://git.chromium.org/webm/libvpx.git
mkdir win64
cd win64
CROSS=x86_64-w64-mingw32- ../libvpx/configure --target=x86_64-win64-gcc
--enable-static-msvcrt --disable-install-docs --disable-unit-tests
--disable-docs
make -i V=1
Original comment by fbarch...@google.com
on 9 Nov 2013 at 4:04
libvpx/webmenc.h
change
#if defined(_MSC_VER)
/* MSVS doesn't define off_t */
typedef __int64 off_t;
#else
#include <stdint.h>
#endif
to
#if defined(_MSC_VER)
/* MSVS uses _f{seek,tell}i64 */
#define fseeko _fseeki64
#define ftello _ftelli64
/* MSVS doesn't define off_t */
typedef __int64 off_t;
#elif defined(_WIN32)
/* MinGW defines off_t as long, and uses f{seek,tell}o64/off64_t for large
* files */
#define fseeko fseeko64
#define ftello ftello64
#define off_t off64_t
#else
#include <stdint.h>
#endif
Original comment by fbarch...@google.com
on 9 Nov 2013 at 4:18
Tom, do your upcoming refactor patches deal with this issue?
Frank, can you post your fix in the form of a patch?
Original comment by johannko...@google.com
on 11 Nov 2013 at 6:44
I already have a patchset that deals with this:
https://gerrit.chromium.org/gerrit/#/c/67786/
Original comment by tomfine...@google.com
on 11 Nov 2013 at 6:50
Original comment by tomfine...@google.com
on 11 Nov 2013 at 8:00
Original issue reported on code.google.com by
fbarch...@google.com
on 9 Nov 2013 at 3:59