summaryrefslogtreecommitdiff
path: root/nt/config.nt
diff options
context:
space:
mode:
Diffstat (limited to 'nt/config.nt')
-rw-r--r--nt/config.nt7
1 files changed, 7 insertions, 0 deletions
diff --git a/nt/config.nt b/nt/config.nt
index 8deebdf6aec..a7b9334a0a0 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -477,5 +477,12 @@ void w32_abort (void) NO_RETURN;
#endif
#endif
+/* Prevent accidental use of features unavailable in
+ older Windows versions we still support. */
+#define _WIN32_WINNT 0x0400
+
+/* Make a leaner executable. */
+#define WIN32_LEAN_AND_MEAN 1
+
/* arch-tag: df720992-aa5a-499a-882d-958dc5eeb5e9
(do not change this comment) */