File tree Expand file tree Collapse file tree 2 files changed +41
-38
lines changed Expand file tree Collapse file tree 2 files changed +41
-38
lines changed Original file line number Diff line number Diff line change 4
4
#define _HAS_AUTO_PTR_ETC 1
5
5
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
6
6
7
- // Disable a bunch of unneeded crap in WinAPI (on top of WIN32_LEAN_AND_MEAN)
8
- #ifdef _WIN32
9
- #define NOMINMAX
10
- #define NOGDI
11
- #define NOKERNEL
12
- #define NONLS
13
- #define NOMEMMGR
14
- #define NOGDICAPMASKS
15
- #define NOVIRTUALKEYCODES
16
- #define NOWINMESSAGES
17
- #define NOWINSTYLES
18
- #define NOMETAFILE
19
- #define NOSCROLL
20
- #define NOTEXTMETRIC
21
- #define NOCOMM
22
- #define NOKANJI
23
- #define NOHELP
24
- #define NOPROFILER
25
- #define NODEFERWINDOWPOS
26
- #define NOMCX
27
- #define NOMENUS
28
- #define NOICONS
29
- #define NOKEYSTATES
30
- #define NOSYSCOMMANDS
31
- #define NORASTEROPS
32
- #define NOSHOWWINDOW
33
- #define OEMRESOURCE
34
- #define NOATOM
35
- #define NODRAWTEXT
36
- #define NOCOLOR
37
- #define NOCTLMGR
38
- #define NOMSG
39
- #define NOOPENFILE
40
- #define NOSERVICE
41
- #define NOSOUND
42
- #define NOWH
43
- #define NOWINOFFSETS
44
- #endif
7
+ #include " windows_h_filters.h"
45
8
46
9
// Inclusion of relevant C++ Standard Library headers.
47
10
#include < cstdlib>
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ // Disable a bunch of unneeded crap in WinAPI (on top of WIN32_LEAN_AND_MEAN)
4
+ #ifdef _WIN32
5
+ #define NOMINMAX
6
+ #define NOGDI
7
+ #define NOKERNEL
8
+ #define NONLS
9
+ #define NOMEMMGR
10
+ #define NOGDICAPMASKS
11
+ #define NOVIRTUALKEYCODES
12
+ #define NOWINMESSAGES
13
+ #define NOWINSTYLES
14
+ #define NOMETAFILE
15
+ #define NOSCROLL
16
+ #define NOTEXTMETRIC
17
+ #define NOCOMM
18
+ #define NOKANJI
19
+ #define NOHELP
20
+ #define NOPROFILER
21
+ #define NODEFERWINDOWPOS
22
+ #define NOMCX
23
+ #define NOMENUS
24
+ #define NOICONS
25
+ #define NOKEYSTATES
26
+ #define NOSYSCOMMANDS
27
+ #define NORASTEROPS
28
+ #define NOSHOWWINDOW
29
+ #define OEMRESOURCE
30
+ #define NOATOM
31
+ #define NODRAWTEXT
32
+ #define NOCOLOR
33
+ #define NOCTLMGR
34
+ #define NOMSG
35
+ #define NOOPENFILE
36
+ #define NOSERVICE
37
+ #define NOSOUND
38
+ #define NOWH
39
+ #define NOWINOFFSETS
40
+ #endif
You can’t perform that action at this time.
0 commit comments