Merge "Define __USE_MINGW_ANSI_STDIO for windows build"

This commit is contained in:
Andrew Hsieh 2014-05-13 00:53:45 +00:00 committed by Gerrit Code Review
commit fb1f38ecba

View file

@ -42,7 +42,7 @@ endif # Linux
# Workaround differences in inttypes.h between host and target.
# See bug 12708004.
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D__USE_MINGW_ANSI_STDIO
HOST_CC := $(TOOLS_PREFIX)gcc$(TOOLS_EXE_SUFFIX)
HOST_CXX := $(TOOLS_PREFIX)g++$(TOOLS_EXE_SUFFIX)