We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d74d14 + 1ad2ec6 commit f300972Copy full SHA for f300972
compat/mingw.c
@@ -2703,13 +2703,8 @@ int mingw_raise(int sig)
2703
2704
int link(const char *oldpath, const char *newpath)
2705
{
2706
- DECLARE_PROC_ADDR(kernel32.dll, BOOL, CreateHardLinkW,
2707
- LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
2708
wchar_t woldpath[MAX_LONG_PATH], wnewpath[MAX_LONG_PATH];
2709
2710
- if (!INIT_PROC_ADDR(CreateHardLinkW))
2711
- return -1;
2712
-
2713
if (xutftowcs_long_path(woldpath, oldpath) < 0 ||
2714
xutftowcs_long_path(wnewpath, newpath) < 0)
2715
return -1;
0 commit comments