Skip to content

Commit 8656d00

Browse files
committed
Remove header, use build system
1 parent 0521ac5 commit 8656d00

File tree

3 files changed

+41
-43
lines changed

3 files changed

+41
-43
lines changed

Source/System/StandardIncludes.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#define _HAS_AUTO_PTR_ETC 1
55
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
66

7-
#include "windows_h_filters.h"
8-
97
// Inclusion of relevant C++ Standard Library headers.
108
#include <cstdlib>
119
#include <cstdarg>

Source/System/windows_h_filters.h

Lines changed: 0 additions & 40 deletions
This file was deleted.

meson.build

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,47 @@ elif compiler.get_argument_syntax()== 'msvc'
7878
if host_machine.cpu_family() == 'x86'
7979
elfname += ' x86'
8080
endif
81-
preprocessor_flags += ['-D_CRT_SECURE_NO_DEPRECATE', '-D_WINDOWS', '-DWIN32', '-DWIN32_LEAN_AND_MEAN']
81+
preprocessor_flags += [
82+
'-D_CRT_SECURE_NO_DEPRECATE',
83+
'-D_WINDOWS',
84+
'-DWIN32',
85+
'-DWIN32_LEAN_AND_MEAN',
86+
'-DNOMINMAX',
87+
'-DNOGDI',
88+
'-DNOKERNEL',
89+
'-DNONLS',
90+
'-DNOMEMMGR',
91+
'-DNOGDICAPMASKS',
92+
'-DNOVIRTUALKEYCODES',
93+
'-DNOWINMESSAGES',
94+
'-DNOWINSTYLES',
95+
'-DNOMETAFILE',
96+
'-DNOSCROLL',
97+
'-DNOTEXTMETRIC',
98+
'-DNOCOMM',
99+
'-DNOKANJI',
100+
'-DNOHELP',
101+
'-DNOPROFILER',
102+
'-DNODEFERWINDOWPOS',
103+
'-DNOMCX',
104+
'-DNOMENUS',
105+
'-DNOICONS',
106+
'-DNOKEYSTATES',
107+
'-DNOSYSCOMMANDS',
108+
'-DNORASTEROPS',
109+
'-DNOSHOWWINDOW',
110+
'-DOEMRESOURCE',
111+
'-DNOATOM',
112+
'-DNODRAWTEXT',
113+
'-DNOCOLOR',
114+
'-DNOCTLMGR',
115+
'-DNOMSG',
116+
'-DNOOPENFILE',
117+
'-DNOSERVICE',
118+
'-DNOSOUND',
119+
'-DNOWH',
120+
'-DNOWINOFFSETS'
121+
]
82122
link_args+=['-ignore:4099', '-ignore:4217']
83123
buildtype_debug = get_option('debug')
84124
if buildtype_debug

0 commit comments

Comments
 (0)