Re: [PATCH v5] MinGW(-W64) compilation
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 9, 2014, 10:11 UTC
- Message-ID
- <alpine.DEB.1.00.1410091205560.990@s15462909.onlinehome-server.info>
- In-Reply-To
- <1412791267-13356-1-git-send-email-marat@slonopotamus.org>
Hi all,
On Wed, 8 Oct 2014, Marat Radchenko wrote:
> This patch series fixes building on modern MinGW and MinGW-W64 > (including x86_64).
To make it more convenient to work on this patch series using Git, I pushed this branch to
https://github.com/dscho/git/compare/git:master...w64-slonopotamus
I also added one patch I find highly convenient:
https://github.com/dscho/git/commit/29749c7d7b4638c63369d6cf067f5d524d0092f9
-- snipsnap -- Subject: [PATCH] MinGW-w64: Work around bug in MinGW-w64's winuser.h
This allows contributors to compile 64-bit Windows builds of Git without forcing them to use an unstable version of MinGW-w64.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- compat/poll/poll.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/compat/poll/poll.c b/compat/poll/poll.c index 8941249..dcbcbaf 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c @@ -76,6 +76,18 @@ #ifdef WIN32_NATIVE +/* + * Work around https://sourceforge.net/p/mingw-w64/bugs/397. In short, some + * definitions were put into the GUI-only section of winuser.h by mistake + * in MinGW-w64 versions up to 3.1.0. + */ +#ifndef QS_ALLINPUT +#define QS_ALLINPUT 0xff +extern WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD nCount, + CONST HANDLE *pHandles, WINBOOL fWaitAll, DWORD dwMilliseconds, + DWORD dwWakeMask); +#endif + #define IsConsoleHandle(h) (((intptr_t) (h) & 3) == 3) static BOOL
-- 2.0.0.rc3.9669.g840d1f9 -- -- *** 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 "Git for Windows" 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.