[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.3: file:seek() and files larger than 2 GB
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 16 May 2015 10:27:00 -0300
> I tried to build Lua with and without -D_FILE_OFFSET_BITS=64, it did not
> help. Functions file:read() and file:write() work fine in this example:
FILE_OFFSET_BITS is a POSIX thing, I do not think it affects Windows.
> If I define _MSC_VER, it is utilized the 64-bit functions, MinGW can use
> them, but not by default.
Isn't this a solution?