acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_aaa_config.h
1#pragma once
2
3
4#error "This file is not meant to be included directly. Include acme/_config.h instead."
5
6#define NTDDI_VERSION 0x0A000000 // NTDDI_WIN10
7#define _WIN32_WINNT 0x0A00 // _WIN32_WINNT_WIN10
8#define WINVER 0x0A00 // _WIN32_WINNT_WIN10
9#define _WIN32_IE 0x0A00 // _WIN32_IE_IE110
10
11
12#define WCHAR_T_SIZE 16
13
14#ifndef UNIVERSAL_WINDOWS
15#define UNIVERSAL_WINDOWS
16#endif
17
18#ifndef WINDOWS
19#define WINDOWS
20#endif
21
22#ifndef _WINDOWS
23#define _WINDOWS
24#endif
25
26
27#ifndef WIN32
28#define WIN32
29#endif
30
31
32#define OPERATING_SYSTEM_NAMESPACE universal_windows
33
34#define DEFAULT_DIR_SEPARATOR "\\"
35
36
37#define VARIADIC_TEMPLATE_FORMAT2
38
39
40#define WINRT_SOCKETS
41//#define BSD_STYLE_SOCKETS
42
43
44#define OPERATING_SYSTEM_NAME "universal_windows"
45
46// #ifdef _DEBUG
47// #define DEBUG
48// #endif
49
50
51#define DECL_C __cdecl
52
53
54#define CLASS_DECL_EXPORT __declspec(dllexport)
55#define CLASS_DECL_IMPORT __declspec(dllimport)
56#define CLASS_DECL_THREAD __declspec(thread)
57
58#ifndef _CRT_SECURE_NO_WARNINGS
59#define _CRT_SECURE_NO_WARNINGS
60#endif
61
62#ifndef _CRT_SECURE_NO_DEPRECATE
63#define _CRT_SECURE_NO_DEPRECATE
64#endif
65
66#define _CRT_NONSTDC_NO_DEPRECATE
67#define _CRT_RAND_S
68
69#define __PLACEMENT_NEW_INLINE
70
71
72
73#define _WIDEN(x) L#x
74
75
76
77#include "bit.h"
78
79
80#pragma warning(disable:4250) // disable warning if inherited via dominance
81#pragma warning(disable:4275) // disable warning about dll-interface inheriting from non-dll interface (always true for template bases)... : classical and clear linkage errors will appear if it is not template class
82
83
84#define DRAWDIB_INCLUDE_STRETCHDIB
85
86
87#define static_inline static
88
89
90
91
92
93
94
95#ifdef __cplusplus
96
97#define LOG_THIS_TAG (::platform::type(this).name())
98#define LOG_MEMBER_PREFIX __FUNCTION__
99
100#define ALOG_FUNCTION __FUNCTION__
101#define ALOG_LINE __LINE__
102
103#endif
104
105
106#define STR_NEWLINE "\r\n"
107
108
109