diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-05 12:03:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 12:03:05 +0200 |
commit | b1c6826b9f84ad564c41a6d1b1e76b09354b8945 (patch) | |
tree | b6cfb04ebd6631e3735b15dee2b130b637676fbd /modules | |
parent | c773c709c0b69336d5ae922cd7215f3ea1414be9 (diff) | |
parent | 425ed0ffe0880f2c63344c0861ddf37b346b9738 (diff) |
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/utils/mono_reg_utils.cpp | 2 | ||||
-rw-r--r-- | modules/mono/utils/path_utils.cpp | 1 |
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 ";" |