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 /drivers/windows | |
parent | c773c709c0b69336d5ae922cd7215f3ea1414be9 (diff) | |
parent | 425ed0ffe0880f2c63344c0861ddf37b346b9738 (diff) |
Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_master
Diffstat (limited to 'drivers/windows')
-rw-r--r-- | drivers/windows/dir_access_windows.cpp | 1 | ||||
-rw-r--r-- | drivers/windows/file_access_windows.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp index ae781e9424..3e98e36d14 100644 --- a/drivers/windows/dir_access_windows.cpp +++ b/drivers/windows/dir_access_windows.cpp @@ -37,6 +37,7 @@ #include <stdio.h> #include <wchar.h> +#define WIN32_LEAN_AND_MEAN #include <windows.h> /* diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 775c999b15..035c44a28c 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -37,6 +37,7 @@ #include <share.h> // _SH_DENYNO #include <shlwapi.h> +#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <errno.h> |