MinGW: fix compile error due to missing ELOOP
commite0a064a10749a8039f28e9bd3de0ffb5cf99e678
authorKarsten Blees <karsten.blees@gmail.com>
Tue, 15 Jul 2014 22:53:27 +0000 (16 00:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 17:42:49 +0000 (16 10:42 -0700)
tree5dcf733bfd8bb6f25ea48a2c26952441dbae815e
parent3d15f536a7f5215eddae20214fb8eaeeb6baaf27
MinGW: fix compile error due to missing ELOOP

MinGW and MSVC before 2010 don't define ELOOP, use EMLINK (aka "Too many
links") instead.

Signed-off-by: Karsten Blees <blees@dcon.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h