diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2021-01-13 14:33:54 -0500 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2021-01-13 14:33:54 -0500 |
commit | 273fff5c84288f3c09b32521d1217619e9cc079e (patch) | |
tree | b2762f5491289625c7784762e5bd36a81c5fdaa5 /diskio-unix.cc | |
parent | b160f90589abf830a704dc8d1482306bf7fa77cf (diff) | |
download | sgdisk-273fff5c84288f3c09b32521d1217619e9cc079e.tar.gz |
Adjust position of multiple-inclusion protection in .h files
Diffstat (limited to 'diskio-unix.cc')
-rw-r--r-- | diskio-unix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/diskio-unix.cc b/diskio-unix.cc index 35a4f5e..4aefc6f 100644 --- a/diskio-unix.cc +++ b/diskio-unix.cc @@ -37,6 +37,10 @@ using namespace std; +#ifdef __APPLE__ +#define off64_t off_t +#endif + // Returns the official "real" name for a shortened version of same. // Trivial here; more important in Windows void DiskIO::MakeRealName(void) { |