From 9c46f3877ea51212aa258063822c7dc281843f4d Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Mon, 29 Oct 2007 21:42:29 +0000 Subject: [PATCH] Revert hpoussin's commit in r29960 to unbreak build. Most of *our* stuff has separated host/target headers now, but the Wine-shared components still include headers from include/reactos/wine. And these headers (like "winnt.h" in that directory) include our headers from include/psdk themselves, which are meant to be used for target components, but not for host tools. This needs to be fixed first, before we can remove this hack. svn path=/trunk/; revision=29964 --- reactos/tools/tools.mak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/tools/tools.mak b/reactos/tools/tools.mak index 7d378812b0a..5927f0d5288 100644 --- a/reactos/tools/tools.mak +++ b/reactos/tools/tools.mak @@ -9,6 +9,10 @@ TOOLS_CFLAGS = -Wall -Wpointer-arith -Wno-strict-aliasing $(HOST_CFLAGS) TOOLS_CPPFLAGS = -Wall -Wpointer-arith $(HOST_CPPFLAGS) TOOLS_LFLAGS = $(HOST_LFLAGS) +# HACK: Remove those lines once host tools don't use target headers anymore +TOOLS_CFLAGS += -D__i386__ +TOOLS_CPPFLAGS += -D__i386__ + $(TOOLS_INT): | $(INTERMEDIATE) $(ECHO_MKDIR) ${mkdir} $@