GetConsoleWindow

Earnie Boyd earnie_boyd@yahoo.com
Tue Sep 3 17:01:00 GMT 2002


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.



More information about the Cygwin-developers mailing list