summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-30 16:03:52 +0000
committerChristopher Faylor <me@cgf.cx>2002-08-30 16:03:52 +0000
commitf80e156de95bbf723355cde3d9ba1d2a66eefef0 (patch)
treec38244f40cdc06dea9c729b78689f0358275643a /winsup/cygwin/autoload.cc
parent91edb60487810ad14f6baea6140ff4ff2cc60f59 (diff)
downloadcygnal-f80e156de95bbf723355cde3d9ba1d2a66eefef0.tar.gz
cygnal-f80e156de95bbf723355cde3d9ba1d2a66eefef0.tar.bz2
cygnal-f80e156de95bbf723355cde3d9ba1d2a66eefef0.zip
Christopher Faylor <cgf@redhat.com>
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available. Call FindWindow in a loop.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index e3d34f42c..0c0334f11 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -494,6 +494,7 @@ LoadDLLfunc (CoCreateInstance, 20, ole32)
LoadDLLfuncEx (CancelIo, 4, kernel32, 1)
LoadDLLfuncEx (CreateHardLinkA, 12, kernel32, 1)
LoadDLLfuncEx (CreateToolhelp32Snapshot, 8, kernel32, 1)
+LoadDLLfuncEx (GetConsoleWindow, 4, kernel32, 1)
LoadDLLfuncEx2 (IsDebuggerPresent, 0, kernel32, 1, 1)
LoadDLLfuncEx (Process32First, 8, kernel32, 1)
LoadDLLfuncEx (Process32Next, 8, kernel32, 1)