mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
3d15f536a7
commit
e0a064a107
@@ -35,6 +35,9 @@ typedef int socklen_t;
|
|||||||
#ifndef EWOULDBLOCK
|
#ifndef EWOULDBLOCK
|
||||||
#define EWOULDBLOCK EAGAIN
|
#define EWOULDBLOCK EAGAIN
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef ELOOP
|
||||||
|
#define ELOOP EMLINK
|
||||||
|
#endif
|
||||||
#define SHUT_WR SD_SEND
|
#define SHUT_WR SD_SEND
|
||||||
|
|
||||||
#define SIGHUP 1
|
#define SIGHUP 1
|
||||||
|
|||||||
Reference in New Issue
Block a user