From: Elliott Hughes Date: Thu, 20 Aug 2015 21:22:19 +0000 (+0000) Subject: Revert "Fix Windows SDK build." X-Git-Tag: android-x86-7.1-r1~608^2~19^2~147^2~59^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=73042ea0c7942d005e347faffe74ab9ce9f72071;p=android-x86%2Fbuild.git Revert "Fix Windows SDK build." This reverts commit b8dd176441f6ba9527d24a5065d8225437fe39d5. This wasn't the problem, and mingw doesn't even use _LARGEFILE_SOURCE. The real problem (using WIN32 instead of _WIN32 in external/llvm) is fixed now. Change-Id: I2b708a006b530cb18d03b1425cd65edda35ee17e --- diff --git a/core/combo/HOST_windows-x86.mk b/core/combo/HOST_windows-x86.mk index 573d93668..30c1c755d 100644 --- a/core/combo/HOST_windows-x86.mk +++ b/core/combo/HOST_windows-x86.mk @@ -36,7 +36,7 @@ $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D__USE_MINGW_ANSI_STDIO=1 # Admit to using >= Win2K. $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D_WIN32_WINNT=0x0500 # Get 64-bit off_t and related functions. -$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 +$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D_FILE_OFFSET_BITS=64 $(combo_2nd_arch_prefix)HOST_CC := $(TOOLS_PREFIX)gcc$(TOOLS_EXE_SUFFIX) $(combo_2nd_arch_prefix)HOST_CXX := $(TOOLS_PREFIX)g++$(TOOLS_EXE_SUFFIX)