summaryrefslogtreecommitdiff
path: root/winapi_windows.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-01-06 22:02:04 -0500
committerPietro Gagliardi <[email protected]>2015-01-06 22:02:04 -0500
commit095c6dc79cfa0a81a18422a4e0b3657a2691861d (patch)
tree1b3b586298b2c67d417b0e08c7c33c4b71418944 /winapi_windows.h
parentba887cbf076c8ab3b31b40daa55ddd2a7a1c2ec4 (diff)
Split out all Windows header file inclusion into a single wininclude_windows.h so all subdirectory files can be on the same page.
Diffstat (limited to 'winapi_windows.h')
-rw-r--r--winapi_windows.h24
1 files changed, 1 insertions, 23 deletions
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 <windows.h>
-#include <commctrl.h>
-#include <stdint.h>
-#include <uxtheme.h>
-#include <string.h>
-#include <wchar.h>
-#include <windowsx.h>
-#include <vsstyle.h>
-#include <vssym32.h>
-#include <stdarg.h>
-#include <oleacc.h>
+#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