Author: jgardou Date: Sun Sep 4 12:08:54 2011 New Revision: 53573
URL: http://svn.reactos.org/svn/reactos?rev=53573&view=rev Log: [PSDK] - fix compilation for any fool wanting to use our headers outside of NT 5.2 scope
Modified: trunk/reactos/include/psdk/wincon.h
Modified: trunk/reactos/include/psdk/wincon.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wincon.h?rev=5... ============================================================================== --- trunk/reactos/include/psdk/wincon.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/wincon.h [iso-8859-1] Sun Sep 4 12:08:54 2011 @@ -3,6 +3,10 @@
#ifdef __cplusplus extern "C" { +#endif + +#if (_WIN32_WINNT >= 0x0600) && !defined(NOGDI) +# include "wingdi.h" #endif
#ifdef _MSC_VER @@ -137,12 +141,14 @@ #if (_WIN32_WINNT >= 0x0600) #define HISTORY_NO_DUP_FLAG 0x1 #define CONSOLE_OVERSTRIKE 0x1 +#ifndef NOGDI typedef struct _CONSOLE_HISTORY_INFO { UINT cbSize; UINT HistoryBufferSize; UINT NumberOfHistoryBuffers; DWORD dwFlags; } CONSOLE_HISTORY_INFO, *PCONSOLE_HISTORY_INFO; +#endif
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX { ULONG cbSize;