From c2822f9d935cb75e759de0039840570cb91c1c08 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 6 Nov 2007 08:26:42 +0100 Subject: [PATCH] Exclude some stuff from Windows header files. There happens to be a name clash on 'boolean' in test-parse-options.c with a type defined one of Windows's OLE header files (rpcndr.h). Since we don't need that anyway, -DNOGDI does not pull those headers in. Signed-off-by: Johannes Sixt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e1fe7779ac..5cb6a31743 100644 --- a/Makefile +++ b/Makefile @@ -511,7 +511,7 @@ ifneq (,$(findstring MINGW,$(uname_S))) NO_MKDTEMP = YesPlease NO_SVN_TESTS=YesPlease NO_PERL_MAKEMAKER=YesPlease - COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -D__USE_MINGW_ACCESS -I compat + COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -D__USE_MINGW_ACCESS -DNOGDI -I compat COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o EXTLIBS += -lws2_32 X = .exe