diff options
author | Ying Wang <wangying@google.com> | 2015-06-06 11:53:46 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2015-06-06 11:53:46 -0700 |
commit | 5f5be27f035620e5b8a951f1845e7bb8b480a3db (patch) | |
tree | ead74b34090629833e0402f958a25af2cb8dd6c0 | |
parent | a76ec61a0b1ecfdd97034f93810852827d0b50ec (diff) | |
download | gptfdisk-5f5be27f035620e5b8a951f1845e7bb8b480a3db.tar.gz |
Fix Mac build.
Bug: 21669400
Change-Id: I961699b5559f75f782d048fdafbbb40c16457f88
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ include $(CLEAR_VARS) LOCAL_CPP_EXTENSION := .cc +ifeq ($(HOST_OS),darwin) +LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 -Doff64_t=off_t +endif + LOCAL_C_INCLUDES := $(LOCAL_PATH) external/e2fsprogs/lib LOCAL_SRC_FILES := $(sgdisk_src_files) |