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

Commit 694b2b7b authored by Ian Rogers's avatar Ian Rogers
Browse files

Define __STDC_FORMAT_MACROS on Windows host builds.

Change-Id: I89b54a63c3f111b8242fe9e813d94a839c484195
parent a8e6166f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)