diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-14 00:50:50 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2009-11-14 00:50:50 +0000 |
commit | 3d330d8115022ad7afc6981055ed2c2161aea445 (patch) | |
tree | 10e4a7218621a2366a17edf049a5e79c25bd38bd /winsup | |
parent | 35d6a288b28acb2dec39db151e7a3ab4218a0f35 (diff) | |
download | newlib-3d330d8115022ad7afc6981055ed2c2161aea445.zip newlib-3d330d8115022ad7afc6981055ed2c2161aea445.tar.gz newlib-3d330d8115022ad7afc6981055ed2c2161aea445.tar.bz2 |
2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wincon.h (AttachConsole): Correct guard.
Thanks to Alexander Shaduri for report.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/wincon.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index a72304f..0567220 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> + + * include/wincon.h (AttachConsole): Correct guard. + + Thanks to Alexander Shaduri for report. + 2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net> * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition. diff --git a/winsup/w32api/include/wincon.h b/winsup/w32api/include/wincon.h index e326d09..43a7b5a 100644 --- a/winsup/w32api/include/wincon.h +++ b/winsup/w32api/include/wincon.h @@ -130,7 +130,7 @@ typedef struct _INPUT_RECORD { } INPUT_RECORD,*PINPUT_RECORD; BOOL WINAPI AllocConsole(void); -#if (_WIN32_WINNT >= 0x0500) +#if (_WIN32_WINNT >= 0x0501) #define ATTACH_PARENT_PROCESS ((DWORD)-1) BOOL WINAPI AttachConsole(DWORD); #endif |