lua-users home
lua-l archive

Re: Lua 5.3: file:seek() and files larger than 2 GB

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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?
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /