lua-users home
lua-l archive

[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