From: Felipe Contreras Date: Mon, 05 May 2014 07:32:11 GMT Subject: Re: [PATCH 10/12] MINGW: compat/poll/poll.c: undef NOGDI Message-ID: <53673e7b65c4d_78fd70f2ec46@nysa.notmuch> In-Reply-To: <20140505073547.GB20599@camelia.ucw.cz> Stepan Kasal wrote: > diff --git a/config.mak.uname b/config.mak.uname > index 82b8dff..446dd41 100644 > --- a/config.mak.uname > +++ b/config.mak.uname > @@ -508,7 +508,11 @@ ifneq (,$(findstring MINGW,$(uname_S))) > NO_POSIX_GOODIES = UnfortunatelyYes > DEFAULT_HELP_FORMAT = html > NO_D_INO_IN_DIRENT = YesPlease > - COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -DNOGDI -Icompat -Icompat/win32 > + COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -Icompat -Icompat/win32 > +ifneq ($(uname_M),x86_64) > + # MinGW-W64 < x.y headers do not provide MsgWaitForMultipleObjects with NOGDI MinGW-w64 != x86_64; it provides a i686 compiler as well. -- Felipe Contreras