Split out all Windows header file inclusion into a single wininclude_windows.h so all subdirectory files can be on the same page.
This commit is contained in:
parent
ba887cbf07
commit
095c6dc79c
|
@ -1,23 +1,5 @@
|
||||||
// 9 october 2014
|
// 9 october 2014
|
||||||
#define UNICODE
|
#include "../wininclude_windows.h"
|
||||||
#define _UNICODE
|
|
||||||
#define STRICT
|
|
||||||
#define STRICT_TYPED_ITEMIDS
|
|
||||||
// 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 "popover.h"
|
#include "popover.h"
|
||||||
|
|
||||||
// #qo LIBS: user32 kernel32 gdi32
|
// #qo LIBS: user32 kernel32 gdi32
|
||||||
|
|
|
@ -4,29 +4,7 @@
|
||||||
#ifndef __GO_UI_WINAPI_WINDOWS_H__
|
#ifndef __GO_UI_WINAPI_WINDOWS_H__
|
||||||
#define __GO_UI_WINAPI_WINDOWS_H__
|
#define __GO_UI_WINAPI_WINDOWS_H__
|
||||||
|
|
||||||
#define UNICODE
|
#include "wininclude_windows.h"
|
||||||
#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>
|
|
||||||
|
|
||||||
// if by some stroke of luck Go ever supports compiling with MSVC, this will need to change
|
// 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
|
// noe that this has to come after the headers above because it's not predefined
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
// 6 january 2015
|
||||||
|
#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>
|
|
@ -1,26 +1,5 @@
|
||||||
// 19 october 2014
|
// 19 october 2014
|
||||||
#define UNICODE
|
#include "../wininclude_windows.h"
|
||||||
#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 <oleacc.h>
|
|
||||||
|
|
||||||
// #qo LIBS: user32 kernel32 gdi32 comctl32 uxtheme ole32 oleaut32 oleacc uuid
|
// #qo LIBS: user32 kernel32 gdi32 comctl32 uxtheme ole32 oleaut32 oleacc uuid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue