[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] poll: undef NOGDI
From: |
Ben Pfaff |
Subject: |
Re: [PATCH] poll: undef NOGDI |
Date: |
Sun, 28 Sep 2014 09:43:01 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Sep 18, 2014 at 04:53:37PM +0400, Marat Radchenko wrote:
> On MinGW-W64, MsgWaitForMultipleObjects is guarded with #ifndef NOGDI.
>
> -DNOGDI=1 prevents inclusion of tons of Windows headers, especially
> wingdi.h with weird #define ERROR 0 that has high chances to conflict
> with internal software defines. So, just #undef NOGDI.
>
> MinGW-W64 bug: http://sourceforge.net/p/mingw-w64/bugs/397/
> When it is fixed, this commit can be reverted.
According to that URL, this bug has already been fixed, so it seems that
this is not worth applying at all?