This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix windows.h inclusion for crosses to MinGW
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 23 Mar 2011 20:39:54 +0000
- Subject: Re: Fix windows.h inclusion for crosses to MinGW
- References: <Pine.LNX.4.64.1103231706520.26696@digraph.polyomino.org.uk>
On 23/03/2011 17:09, Joseph S. Myers wrote:
> The ld configure test for plugins on Windows includes Windows.h, as does
> plugin.c. But the header included in MinGW's w32api distribution is
> actually windows.h not Windows.h, so the configure test fails when the
> host is MinGW but the build system has a case-sensitive filesystem. This
> patch fixes the test and include to use windows.h. OK to commit?
I don't have approval rights, but this is clearly correct and borders on
"obvious fix".
cheers,
DaveK