From 095c6dc79cfa0a81a18422a4e0b3657a2691861d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 6 Jan 2015 22:02:04 -0500 Subject: Split out all Windows header file inclusion into a single wininclude_windows.h so all subdirectory files can be on the same page. --- winapi_windows.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'winapi_windows.h') diff --git a/winapi_windows.h b/winapi_windows.h index 651d7ca..13164d3 100644 --- a/winapi_windows.h +++ b/winapi_windows.h @@ -4,29 +4,7 @@ #ifndef __GO_UI_WINAPI_WINDOWS_H__ #define __GO_UI_WINAPI_WINDOWS_H__ -#define UNICODE -#define _UNICODE -#define STRICT -#define STRICT_TYPED_ITEMIDS -#define CINTERFACE -#define COBJMACROS -// get Windows version right; right now Windows XP -#define WINVER 0x0501 -#define _WIN32_WINNT 0x0501 -#define _WIN32_WINDOWS 0x0501 /* according to Microsoft's winperf.h */ -#define _WIN32_IE 0x0600 /* according to Microsoft's sdkddkver.h */ -#define NTDDI_VERSION 0x05010000 /* according to Microsoft's sdkddkver.h */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "wininclude_windows.h" // if by some stroke of luck Go ever supports compiling with MSVC, this will need to change // noe that this has to come after the headers above because it's not predefined -- cgit v1.2.3