Added comments concerning __DARWIN_UNIX03 vs __APPLE__
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
0.3.2:
|
||||||
|
------
|
||||||
|
|
||||||
|
- Changed __DARWIN_UNIX03 to __APPLE__ as code to enable MacOS X support.
|
||||||
|
|
||||||
0.3.1:
|
0.3.1:
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
// Darwin (Mac OS) only: disk IOCTLs are different, and there is no lseek64
|
// 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>
|
#include <sys/disk.h>
|
||||||
#define lseek64 lseek
|
#define lseek64 lseek
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user