MinGW: fix signature of CreateHardLinkA()
commitc43fb7fe2367a1b3a8ba76cf66212aa517a46e2d
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 12 Mar 2009 14:25:10 +0000 (12 15:25 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 20 Mar 2009 10:48:16 +0000 (20 11:48 +0100)
treea1b22aa89ae2699d1e05c00e4445d8961a28a992
parentbf338634fe3f20751685bda978fdb9f80be0db57
MinGW: fix signature of CreateHardLinkA()

If the declaration of CreateHardLinkA() does not contain the magic word
"WINAPI", the stack will be clobbered in the error case.

This fixes msysGit issue 204.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/mingw.c