Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f1b2c5

Browse files
committed
Merge pull request libgit2#1668 from csware/WC_ERR_INVALID_CHARS
Do not redefine WC_ERR_INVALID_CHARS
2 parents 5d669f0 + a7ea409 commit 9f1b2c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/win32/error.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# include <winhttp.h>
1313
#endif
1414

15+
#ifndef WC_ERR_INVALID_CHARS
1516
#define WC_ERR_INVALID_CHARS 0x80
17+
#endif
1618

1719
char *git_win32_get_error_message(DWORD error_code)
1820
{

0 commit comments

Comments
 (0)