libdmg-hfsplus icon indicating copy to clipboard operation
libdmg-hfsplus copied to clipboard

large file problems on 32-bit linux

Open throwaway-zz opened this issue 14 years ago • 1 comments

Large file problems again, this time on 32-bit Linux instead of 64-bit. Again, the solution is pretty simple:

CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"

I tried putting these defines in common.h, but of course it doesn't get included in the right order for that to work. So I set CFLAGS before calling cmake. Presumably the right way to do this would be to put it in CMakeLists.txt, but I don't know cmake very well.

throwaway-zz avatar Nov 03 '10 23:11 throwaway-zz

#11

coryLeahcordero811 avatar Jan 10 '21 17:01 coryLeahcordero811