mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
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 <johannes.sixt@telecom.at>
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
Reference in New Issue
Block a user