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