Skip to content

Commit 72648d9

Browse files
committed
fixup! mingw: implement a platform-specific strbuf_realpath()
This is needed to let the code compile without error. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent fcb281d commit 72648d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compat/mingw.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ static inline void convert_slashes(char *path)
446446
#define PATH_SEP ';'
447447
char *mingw_query_user_email(void);
448448
#define query_user_email mingw_query_user_email
449+
struct strbuf;
449450
char *mingw_strbuf_realpath(struct strbuf *resolved, const char *path);
450451
#define platform_strbuf_realpath mingw_strbuf_realpath
451452
#if !defined(__MINGW64_VERSION_MAJOR) && (!defined(_MSC_VER) || _MSC_VER < 1800)

0 commit comments

Comments
 (0)