Skip to content

Commit

Permalink
util: Add WIN32_LEAN_AND_MEAN before <Windows.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Sep 15, 2024
1 parent 752563b commit ae036a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions vita3k/util/src/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <util/log.h>

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#endif

Expand Down
1 change: 1 addition & 0 deletions vita3k/util/src/vc_runtime_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <cstdint>

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <shellapi.h>
#include <winver.h>
Expand Down

0 comments on commit ae036a7

Please sign in to comment.