summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB3n30 <bene_thomas@web.de>2017-06-25 02:38:16 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-24 17:38:16 -0700
commit6ba089fafbf6589fc34b1924e4d8a3c0103eeae7 (patch)
treed53ceecbe1f1b21bb909e63430b1861d7eb469d5 /src
parentcf15b651ed475adcd53c72edd83e8b80f1f5fbee (diff)
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.cpp3
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 @@
#endif
#ifdef _WIN32
+// windows.h needs to be included before shellapi.h
#include <windows.h>
+
+#include <shellapi.h>
#endif
#include "citra/config.h"