Karsten Blees <karsten.blees@xxxxxxxxx> writes: > MinGW and MSVC before 2010 don't define ELOOP, use EMLINK (aka "Too many > links") instead. > > Signed-off-by: Karsten Blees <blees@xxxxxxx> > --- Thanks; will apply directly to 'master'. > compat/mingw.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/compat/mingw.h b/compat/mingw.h > index 405c08f..510530c 100644 > --- 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 > -- > 2.0.1.779.g26aeac4.dirty > > -- -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html