diff --git a/CHANGELOG b/CHANGELOG index 4ea90eff48c73639c3e0529fa9e176df403a259e..da011e53928bd94e6a7964d32c5d4e8f7eb1015b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +0.3.2: +------ + +- Changed __DARWIN_UNIX03 to __APPLE__ as code to enable MacOS X support. + 0.3.1: ------ diff --git a/support.h b/support.h index cba12d789f17754149b3d7a2e4574c6b69be32c3..e1e7203360b803a07fb77be9aa6ba86ceca54065 100644 --- a/support.h +++ b/support.h @@ -4,6 +4,9 @@ #ifdef __APPLE__ // Darwin (Mac OS) only: disk IOCTLs are different, and there is no lseek64 +// This used to use __DARWIN_UNIX03 rather than __APPLE__, but __APPLE__ +// is more general. If the code fails to work on older versions of OS X/ +// Darwin, this may need to be changed back (and in various .cc files). #include <sys/disk.h> #define lseek64 lseek #else