aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/wincon.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index c7625c2..0e41240 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-03 Earnie Boyd <earnie@users.sf.net>
+
+ * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.
+
2002-08-30 Christopher January <ccj00@doc.ic.ac.uk>
* include/wincon.h: Define GetConsoleWindow(void).
diff --git a/winsup/w32api/include/wincon.h b/winsup/w32api/include/wincon.h
index 2498d92..122f598 100644
--- a/winsup/w32api/include/wincon.h
+++ b/winsup/w32api/include/wincon.h
@@ -132,7 +132,9 @@ UINT WINAPI GetConsoleOutputCP(void);
BOOL WINAPI GetConsoleScreenBufferInfo(HANDLE,PCONSOLE_SCREEN_BUFFER_INFO);
DWORD WINAPI GetConsoleTitleA(LPSTR,DWORD);
DWORD WINAPI GetConsoleTitleW(LPWSTR,DWORD);
+#if (_WIN32_WINNT >= 0x0500)
HWND WINAPI GetConsoleWindow(void);
+#endif
COORD WINAPI GetLargestConsoleWindowSize(HANDLE);
BOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE,PDWORD);
BOOL WINAPI GetNumberOfConsoleMouseButtons(PDWORD);