Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e0db822 authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Android Git Automerger
Browse files

am c6ca7a5a: am eccf0a45: Merge "utils: add pwrite64 to Compat.h for Mac"

* commit 'c6ca7a5a':
  utils: add pwrite64 to Compat.h for Mac
parents 936d65f5 c6ca7a5a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,10 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset)
    return pread(fd, buf, nbytes, offset);
}

static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) {
    return pwrite(fd, buf, nbytes, offset);
}

#endif /* __APPLE__ */

#if defined(_WIN32)