hedecai/fog

xxx64 function not supported on Mac OS X

Closed this issue · 4 comments

xxx64 are not supported on Mac OS X (using gcc 4.2):
- lseek64
- ftruncate64
- open64
- O_LARGEFILE

This can be solved by just removing the 64-postfix. 

Original issue reported on code.google.com by niels.pf...@gmail.com on 17 Dec 2009 at 6:26

Hi,

I tried to search info about this, and it seems that these functions are using 
64-bit
offsets by default. I will fix this in next commit (probably using defines).

Thanks for this report 

Note: This is also for BSD.

Original comment by kobalicek.petr on 17 Dec 2009 at 10:21

  • Added labels: OpSys-BSD, OpSys-OSX
Hi Niels,

what about others:
- _fseeki64
- _ftelli64
Undefined too?

Original comment by kobalicek.petr on 17 Dec 2009 at 10:54

_fseeki64() and _ftelli64() are defined. 

Original comment by niels.pf...@gmail.com on 18 Dec 2009 at 1:46

Ok, so this should be fixed

Original comment by kobalicek.petr on 18 Dec 2009 at 4:31

  • Changed state: Fixed