summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b248e95)
raw | patch | inline | side by side (parent: b248e95)
author | Eric Sunshine <sunshine@sunshineco.com> | |
Mon, 27 Sep 2010 11:01:59 +0000 (07:01 -0400) | ||
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Sun, 3 Oct 2010 22:34:24 +0000 (23:34 +0100) |
shell.c defines macro HELP_COMMAND which collides with a like-named
macro from winuser.h. Avoid collision by sanitizing preprocessor
namespace after including Windows headers.
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
macro from winuser.h. Avoid collision by sanitizing preprocessor
namespace after including Windows headers.
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
compat/mingw.h | patch | blob | history |
diff --git a/compat/mingw.h b/compat/mingw.h
index 47839663be4d1e861c90b0228b89385004dd5fb4..a2213b39118f6ee24f94446891c6b43035744c68 100644 (file)
--- a/compat/mingw.h
+++ b/compat/mingw.h
};
#define ITIMER_REAL 0
+/*
+ * sanitize preprocessor namespace polluted by Windows headers defining
+ * macros which collide with git local versions
+ */
+#undef HELP_COMMAND /* from winuser.h */
+
/*
* trivial stubs
*/