This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: GetConsoleWindow
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: Nicholas Wourms <nwourms at netscape dot net>
- Cc: cygwin-developers at cygwin dot com, "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- Date: Tue, 03 Sep 2002 20:01:53 -0400
- Subject: Re: GetConsoleWindow
- References: <3D74CE7E.FC9C5BDF@ieee.org> <3D74E346.53082DA7@yahoo.com> <3D7537F8.1050105@netscape.net>
- Reply-to: cygwin-developers at cygwin dot com
Nicholas Wourms wrote:
> Earnie Boyd wrote:
>
> >Fix has been committed.
> >
> >Developers, please be aware to add the appropriate _WIN32_WINNT guards as
> >described in the MSDN.microsoft.com documentation when adding new
> >imports.
> >
> Earnie,
>
> You've broken the build on Win32 platforms (dunno about others), as
> GetConsoleWindow is undeclared at 198 in cygwin/tty.cc.
Then Cygwin source is broken as GetConsoleWindow is specific to Win32 >=
0x0500.
Since Cygwin supports Win32 back to Win95 you can't use that function
globally.
You might configure tests that would use it based on OS environment.
Earnie.