[PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux

Maxim Dounin mdounin at mdounin.ru
Tue Oct 28 13:38:02 UTC 2014


Hello!

On Tue, Oct 28, 2014 at 10:04:00PM +0900, Kouhei Sutou wrote:

> Hi,
> 
> In <20141027174711.GD45418 at mdounin.ru>
>   "Re: [PATCH] Support cross compiling with MinGW-w64 on Debian GNU/Linux" on Mon, 27 Oct 2014 20:47:11 +0300,
>   Maxim Dounin <mdounin at mdounin.ru> wrote:
> 
> > - the NGX_GNUC_64 macro was removed, __MINGW64_VERSION_MAJOR 
> >   tested directly instead;
> > 
> > - the #include <_mingw.h> removed as tests are after includes now, 
> >   see [1];
> > 
> > - some style nits.
> > 
> > Please test if it still works for you.
> 
> Thanks for providing your patch.
> 
> I confirmed that it works well with both
> x86_64-w64-mingw32-gcc and i686-w64-mingw32-gcc!
> 
> 
> Please push the patch.

Committed, thanks.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list