am ad9209ad: Merge "Define __STDC_FORMAT_MACROS on Windows host builds."

* commit 'ad9209adff8d2f94c57387ee3d3abcff28049091':
  Define __STDC_FORMAT_MACROS on Windows host builds.
This commit is contained in:
Narayan Kamath 2014-01-31 14:05:30 -08:00 committed by Android Git Automerger
commit d514cf041d
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ endif # BUILD_HOST_64bit
endif # USE_MINGW
endif # Linux
# Workaround differences in inttypes.h between host and target.
# See bug 12708004.
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS
HOST_CC := $(TOOLS_PREFIX)gcc$(TOOLS_EXE_SUFFIX)
HOST_CXX := $(TOOLS_PREFIX)g++$(TOOLS_EXE_SUFFIX)
HOST_AR := $(TOOLS_PREFIX)ar$(TOOLS_EXE_SUFFIX)