From da79b858c9b64823f5c039dc13a3e05e3f2df69a Mon Sep 17 00:00:00 2001 From: srs5694 <srs5694@users.sourceforge.net> Date: Tue, 18 Aug 2009 13:29:54 -0400 Subject: [PATCH] Added comments concerning __DARWIN_UNIX03 vs __APPLE__ --- CHANGELOG | 5 +++++ support.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 4ea90ef..da011e5 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 cba12d7..e1e7203 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 -- GitLab