hdl_dump endian independant port
MacOS X / Linux PPC port
Patches so far performed by silicontrip:
I have seen the value defined for O_LARGEFILE been varying.
#if defined ( __APPLE__ )
# define _BUILD_UNIX
# define lseek64 lseek
# define stat64 stat
# define open64 open
# define off64_t off_t
# define fstat64 fstat
# define O_LARGEFILE 0
I have attached the file based on the changes made, however
Do not try this unless you want to help out,
this might just crash everything on your harddisk.
But if you have a spare harddisk to try it on please do so.
My 3 GB HD was no good, did not even format :-(