From a7ea40955e5bd881508e2a99e2b73b1a1fbf78e3 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 23 Jun 2013 01:25:34 +0200 Subject: [PATCH] Do not redefine WC_ERR_INVALID_CHARS WC_ERR_INVALID_CHARS might be already defined by the Windows SDK. Signed-off-by: Sven Strickroth --- src/win32/error.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win32/error.c b/src/win32/error.c index 4a9a0631f..a62a07e82 100644 --- a/src/win32/error.c +++ b/src/win32/error.c @@ -12,7 +12,9 @@ # include #endif +#ifndef WC_ERR_INVALID_CHARS #define WC_ERR_INVALID_CHARS 0x80 +#endif char *git_win32_get_error_message(DWORD error_code) {