From 3d330d8115022ad7afc6981055ed2c2161aea445 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Sat, 14 Nov 2009 00:50:50 +0000 Subject: [PATCH] 2009-13-09 Chris Sutcliffe * include/wincon.h (AttachConsole): Correct guard. Thanks to Alexander Shaduri for report. --- winsup/w32api/ChangeLog | 6 ++++++ winsup/w32api/include/wincon.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index a72304ff3..05672200a 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2009-13-09 Chris Sutcliffe + + * include/wincon.h (AttachConsole): Correct guard. + + Thanks to Alexander Shaduri for report. + 2009-13-09 Robert Moerland * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition. diff --git a/winsup/w32api/include/wincon.h b/winsup/w32api/include/wincon.h index e326d0923..43a7b5a2b 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 -- 2.43.5