diff options
author | b'Roderick W. Smith <allura@localhost> | 2023-03-05 15:59:17 +0000 |
---|---|---|
committer | b'Roderick W. Smith <allura@localhost> | 2023-03-05 15:59:17 +0000 |
commit | 5754f6ad5c497b62f71a6aab44920fc3dedf8845 (patch) | |
tree | f2205f65ede700a67cef0602ddb83aec6edb7418 | |
parent | 3c4a9fbd1d71fbd3aff0c83ec3ac9b2a0d9ba748 (diff) | |
parent | 7dfa8984f5a30f313d8675ff6097c8592d636d10 (diff) | |
download | gptfdisk-5754f6ad5c497b62f71a6aab44920fc3dedf8845.tar.gz |
Merge /u/khemraj/gptfdisk/ branch master into master
https://sourceforge.net/p/gptfdisk/code/merge-requests/29/
-rw-r--r-- | diskio-unix.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/diskio-unix.cc b/diskio-unix.cc index 7780aeb..0897c56 100644 --- a/diskio-unix.cc +++ b/diskio-unix.cc @@ -37,8 +37,12 @@ using namespace std; -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__linux__) #define off64_t off_t +#define stat64 stat +#define fstat64 fstat +#define lstat64 lstat +#define lseek64 lseek #endif // Returns the official "real" name for a shortened version of same. |