Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
MinGW: fix compile error due to missing ELOOP
author
Karsten Blees
<karsten.blees@gmail.com>
Tue, 15 Jul 2014 22:53:27 +0000
(
00:53
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 16 Jul 2014 17:42:49 +0000
(10:42 -0700)
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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3d15f53
)
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 8dac6f9d6bc91c7949533d5d6d987530d6993b01..7ff2376335dea7a092c626f74f52413be1c81e74 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-35,6
+35,9
@@
typedef int socklen_t;
#ifndef EWOULDBLOCK
#define EWOULDBLOCK EAGAIN
#endif
+#ifndef ELOOP
+#define ELOOP EMLINK
+#endif
#define SHUT_WR SD_SEND
#define SIGHUP 1