Re: [Mingw-w64-public] Large file support?

2018-03-06 Thread Ozkan Sezer
On 3/6/18, Christer Solskogen  wrote:
> On 06.03.2018 14:13, JonY via Mingw-w64-public wrote:
>>
>> Or try recompiling with -D_POSIX=1 -D_FILE_OFFSET_BITS=64.
>
> Thanks, that worked!

Is _FILE_OFFSET_BITS is really tied to _POSIX?  IIRC, _POSIX had more
side effects which may or may not be wanted (or I may be wrong..)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Large file support?

2018-03-06 Thread Christer Solskogen

On 06.03.2018 14:13, JonY via Mingw-w64-public wrote:


Or try recompiling with -D_POSIX=1 -D_FILE_OFFSET_BITS=64.


Thanks, that worked!

--
chs


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Large file support?

2018-03-06 Thread JonY via Mingw-w64-public
On 03/06/2018 12:48 PM, Christer Solskogen wrote:
> Hi!
> 
> I've compiled a Atari ST emulator that can record video. The one I've
> compiled the emulator crashes when the recorded video reaches a certain
> size and from what I can gather it's because off_t is 32bit, even if the
> the compiler is x86_64.

We cannot change the definition of off_t without breaking compatibility,
so use off64_t explicitly instead.

Or try recompiling with -D_POSIX=1 -D_FILE_OFFSET_BITS=64.



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public