From 43b9a723cc727a92a75565da77c1e4d0e904abb8 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Thu, 18 Nov 2004 13:53:20 +0000 Subject: [PATCH] 2004-11-18 Earnie Boyd * include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/wincon.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index b02998b8d..12d89ba7c 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2004-11-18 Earnie Boyd + + * include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter. + 2004-11-13 Danny Smith * include/shlobj.h (SHGFP_TYPE): Add enum. diff --git a/winsup/w32api/include/wincon.h b/winsup/w32api/include/wincon.h index 8eaa5e788..5ef09d448 100644 --- a/winsup/w32api/include/wincon.h +++ b/winsup/w32api/include/wincon.h @@ -126,7 +126,7 @@ typedef struct _INPUT_RECORD { } INPUT_RECORD,*PINPUT_RECORD; BOOL WINAPI AllocConsole(void); -#if (_WIN32_WINNT >= 0x05001) +#if (_WIN32_WINNT >= 0x0500) BOOL WINAPI AttachConsole(DWORD); #endif HANDLE WINAPI CreateConsoleScreenBuffer(DWORD,DWORD,CONST SECURITY_ATTRIBUTES*,DWORD,LPVOID);