planetbeing / libdmg-hfsplus

Portable libraries and utilities that manipulate HFS+ volumes and Apple's DMG images
GNU General Public License v3.0
161 stars 104 forks source link

large file problems on 32-bit linux #4

Open throwaway-zz opened 13 years ago

throwaway-zz commented 13 years ago

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.

coryLeahcordero811 commented 3 years ago

11