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

Commit 50db425c authored by Adam Lesinski's avatar Adam Lesinski Committed by android-build-merger
Browse files

Merge "Add definition of off64_t for mac os builds" am: 3e0b5946 am: 0b60b181 am: e88c6633

am: 51ea1650

Change-Id: I2464d4048f99fe2bab32d227440b0c2350c2e3bd
parents 607e8059 51ea1650
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18,12 +18,18 @@
#define ANDROID_BASE_FILE_H

#include <sys/stat.h>
#include <sys/types.h>
#include <string>

#if !defined(_WIN32) && !defined(O_BINARY)
#define O_BINARY 0
#endif

#if defined(__APPLE__)
/* Mac OS has always had a 64-bit off_t, so it doesn't have off64_t. */
typedef off_t off64_t;
#endif

namespace android {
namespace base {