Re: [PATCH 10/12] MINGW: compat/poll/poll.c: undef NOGDI
- From
Stepan Kasal <kasal@ucw.cz>
- Date
- Apr 30, 2014, 11:41 UTC
- Message-ID
- <20140430114125.GA23046@camelia.ucw.cz>
- In-Reply-To
- <1398762726-22825-11-git-send-email-marat@slonopotamus.org>
Hello,
On Tue, Apr 29, 2014 at 01:12:04PM +0400, Marat Radchenko wrote:
Show 5 quoted lines
> On MinGW-W64, MsgWaitForMultipleObjects is guarded with #ifndef NOGDI. > > Removal -DNOGDI=1 from config.mak.uname has an undesirable effect of > bringing in wingdi.h with weird #define ERROR 0 that conflicts with > internal Git enums. So, just #undef NOGDI in compat/poll/poll.c.
compat/poll/poll.c comes from Gnulib, so it would be better to submit the patch there and then backport so that the divergence of the two versions does not get worse.
Stepan