summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorBartłomiej T. Listwon <blistwon@gmail.com>2021-09-23 08:56:12 +0200
committerBartłomiej T. Listwon <blistwon@gmail.com>2021-09-23 10:35:00 +0200
commit425ed0ffe0880f2c63344c0861ddf37b346b9738 (patch)
treeeab2cefa6b2b636b0b9030b08a811ecfc788f18c /modules/mono
parenta4b80cdad95e251d3066a6798cffc64bbf45a0e2 (diff)
Add missing WIN32_LEAN_AND_MEAN
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/utils/mono_reg_utils.cpp2
-rw-r--r--modules/mono/utils/path_utils.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/utils/mono_reg_utils.cpp b/modules/mono/utils/mono_reg_utils.cpp
index 6b616dd52d..d0a27b27c1 100644
--- a/modules/mono/utils/mono_reg_utils.cpp
+++ b/modules/mono/utils/mono_reg_utils.cpp
@@ -35,7 +35,7 @@
#include "core/os/os.h"
-// Here, after os/os.h
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace MonoRegUtils {
diff --git a/modules/mono/utils/path_utils.cpp b/modules/mono/utils/path_utils.cpp
index ec04d50704..64aec5d359 100644
--- a/modules/mono/utils/path_utils.cpp
+++ b/modules/mono/utils/path_utils.cpp
@@ -36,6 +36,7 @@
#include "core/os/os.h"
#ifdef WINDOWS_ENABLED
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#define ENV_PATH_SEP ";"