commit | c8715002ab973c9c0c804658e3ed48ede4c8ef41 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Mar 23 10:27:01 2021 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Mar 23 11:14:22 2021 -0700 |
tree | c17f7cae059fb901be32a2b94652c43963fd4b84 | |
parent | 9a74174efe4f4de7b17440a0c3a346a444713f31 [diff] [blame] |
fastboot driver: ftrucate64->ftruncate. Also, -D_FILE_OFFSET_BITS=64 so that off_t is always 64 bits. This fixes mac build. Test: forrest Change-Id: I584e136a5f3ca9874fd5364cc4c93f8b1e8feb19
diff --git a/fastboot/Android.bp b/fastboot/Android.bp index bf9ec90..43b2ddd 100644 --- a/fastboot/Android.bp +++ b/fastboot/Android.bp
@@ -208,6 +208,7 @@ "-Werror", "-Wunreachable-code", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", + "-D_FILE_OFFSET_BITS=64" ], target: {