diff options
author | Sven Strickroth <email@cs-ware.de> | 2013-06-23 01:25:34 +0200 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2013-06-23 01:25:34 +0200 |
commit | a7ea40955e5bd881508e2a99e2b73b1a1fbf78e3 (patch) | |
tree | a9726694697a4bc789b910e287d5af6948a27fa6 | |
parent | 5d669f0a96ab858750f4fdd90f138225946934c2 (diff) | |
download | libgit2-a7ea40955e5bd881508e2a99e2b73b1a1fbf78e3.tar.gz |
Do not redefine WC_ERR_INVALID_CHARS
WC_ERR_INVALID_CHARS might be already defined by the Windows SDK.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
-rw-r--r-- | src/win32/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <winhttp.h> #endif +#ifndef WC_ERR_INVALID_CHARS #define WC_ERR_INVALID_CHARS 0x80 +#endif char *git_win32_get_error_message(DWORD error_code) { |