diff options
author | Earnie Boyd <earnie@users.sf.net> | 2002-09-03 16:25:54 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2002-09-03 16:25:54 +0000 |
commit | 20fb0cc51373af49a4f89759ceb16c5933dfb989 (patch) | |
tree | 67751ad1fbaf8c0257917b5187149d5428c25d26 | |
parent | 4a311951a5da96647a76e210f32d526997392c3e (diff) | |
download | newlib-20fb0cc51373af49a4f89759ceb16c5933dfb989.zip newlib-20fb0cc51373af49a4f89759ceb16c5933dfb989.tar.gz newlib-20fb0cc51373af49a4f89759ceb16c5933dfb989.tar.bz2 |
* include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.
-rw-r--r-- | winsup/w32api/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/w32api/include/wincon.h | 2 |
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); |