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 4feb7bb + a7b244c commit 9abc2c0Copy full SHA for 9abc2c0
compat/mingw.c
@@ -2668,13 +2668,8 @@ int mingw_raise(int sig)
2668
2669
int link(const char *oldpath, const char *newpath)
2670
{
2671
- DECLARE_PROC_ADDR(kernel32.dll, BOOL, CreateHardLinkW,
2672
- LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
2673
wchar_t woldpath[MAX_LONG_PATH], wnewpath[MAX_LONG_PATH];
2674
2675
- if (!INIT_PROC_ADDR(CreateHardLinkW))
2676
- return -1;
2677
-
2678
if (xutftowcs_long_path(woldpath, oldpath) < 0 ||
2679
xutftowcs_long_path(wnewpath, newpath) < 0)
2680
return -1;
0 commit comments