Added comments concerning __DARWIN_UNIX03 vs __APPLE__

This commit is contained in:
srs5694
2009-08-18 13:29:54 -04:00
parent e7b4ff9317
commit da79b858c9
2 changed files with 8 additions and 0 deletions

View File

@@ -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