Re: [PATCH 10/12] MINGW: compat/poll/poll.c: undef NOGDI
Show 12 quoted lines
> 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