Skip to content

Commit 2d2a9b7

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? Introduce helper to create symlinks that knows about index_state
And another merge conflict resolution. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c33adf9 commit 2d2a9b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compat/mingw-posix.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,10 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out);
192192
int sigaction(int sig, struct sigaction *in, struct sigaction *out);
193193
int link(const char *oldpath, const char *newpath);
194194
int uname(struct utsname *buf);
195-
int symlink(const char *target, const char *link);
196195
int readlink(const char *path, char *buf, size_t bufsiz);
196+
struct index_state;
197+
int mingw_create_symlink(struct index_state *index, const char *target, const char *link);
198+
#define create_symlink mingw_create_symlink
197199

198200
/*
199201
* replacements of existing functions

0 commit comments

Comments
 (0)