Re: [PATCH 1/2] MinGW: fix compile error due to missing ELOOP
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 15, 2014, 23:42 UTC
- Message-ID
- <20140715234257.GM12427@google.com>
- In-Reply-To
- <53C5B0E7.4050706@gmail.com>
Karsten Blees wrote:
> MinGW and MSVC before 2010 don't define ELOOP, use EMLINK (aka "Too many > links") instead.
[...]
> +#ifndef ELOOP > +#define ELOOP EMLINK > +#endif
This could use
#define ELOOP WSAELOOP
as an alternative. But it shouldn't matter since git doesn't look for EMLINK anywhere (EMLINK = 31, WSAELOOP = wsabaseerr+62 = 10062).
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
-- -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "msysGit" group. To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.