diff options
| author | 2017-06-25 02:38:16 +0200 | |
|---|---|---|
| committer | 2017-06-24 17:38:16 -0700 | |
| commit | 6ba089fafbf6589fc34b1924e4d8a3c0103eeae7 (patch) | |
| tree | d53ceecbe1f1b21bb909e63430b1861d7eb469d5 /src | |
| parent | Merge pull request #2801 from yuriks/session-svcs (diff) | |
| download | yuzu-6ba089fafbf6589fc34b1924e4d8a3c0103eeae7.tar.gz yuzu-6ba089fafbf6589fc34b1924e4d8a3c0103eeae7.tar.xz yuzu-6ba089fafbf6589fc34b1924e4d8a3c0103eeae7.zip | |
Set global definition WIN32_LEAN_AND_MEAN (#2807)
Set definition WIN32_LEAN_AND_MEAN to avoid windows.h including a lot of libs that are usually not used.
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra/citra.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index dd357ff72..14574e56c 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp | |||
| @@ -18,7 +18,10 @@ | |||
| 18 | #endif | 18 | #endif |
| 19 | 19 | ||
| 20 | #ifdef _WIN32 | 20 | #ifdef _WIN32 |
| 21 | // windows.h needs to be included before shellapi.h | ||
| 21 | #include <windows.h> | 22 | #include <windows.h> |
| 23 | |||
| 24 | #include <shellapi.h> | ||
| 22 | #endif | 25 | #endif |
| 23 | 26 | ||
| 24 | #include "citra/config.h" | 27 | #include "citra/config.h" |