hypeartist / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

xxx64 function not supported on Mac OS X #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Hi Niels,

what about others:
- _fseeki64
- _ftelli64
Undefined too?

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

GoogleCodeExporter commented 8 years ago
_fseeki64() and _ftelli64() are defined. 

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

GoogleCodeExporter commented 8 years ago
Ok, so this should be fixed

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