Hi,
I am trying to upgrade tarlz to 0.24 for homebrew. But need some build patch as below for major,minor,makedev on OSX builds
#if !defined(HAVE_MAJOR) && !defined(major)
/* Replacement for major/minor/makedev. */
#define major(x) ((int)(0x00ff & ((x) >> 8)))
#define minor(x) ((int)(0xffff00ff & (x)))
#endif
Let me know if you need more info from my side.
Thanks,
Rui
P.S.