- fix compilation for any fool wanting to use our headers outside of NT 5.2 scope

svn path=/trunk/; revision=53573
This commit is contained in:
Jérôme Gardou 2011-09-04 12:08:54 +00:00
parent 7a18610b01
commit e448d722f6

View file

@ -5,6 +5,10 @@
extern "C" {
#endif
#if (_WIN32_WINNT >= 0x0600) && !defined(NOGDI)
# include "wingdi.h"
#endif
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4820)
@ -137,12 +141,14 @@ typedef struct _INPUT_RECORD {
#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;