mingw: use `CreateHardLink()` directly
commit1e1a876bb2c895d59db8b7c8c4eb49ceef454bd3
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 13 Nov 2018 14:37:02 +0000 (13 06:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 05:41:15 +0000 (14 14:41 +0900)
tree882f769a0ce05895ed5a93d84d8e8a1196cc025f
parentd166e6afe5f257217836ef24a73764eba390c58d
mingw: use `CreateHardLink()` directly

The function `CreateHardLink()` is available in all supported Windows
versions (even since Windows XP), so there is no more need to resolve it
at runtime.

Helped-by: Max Kirillov <max@max630.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c