#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if !defined ANDROID && !defined _WIN32 #include #endif #include #include #include #include #ifndef _WIN32 #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #ifndef _WIN32 #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef _WIN32 #include #endif #include #include #include #include #ifdef _WIN32 #if _MSC_FULL_VER < 180030723 #error Please update your build environment to VS2013 with Update 3 or later! #endif // This numeral indicates the "minimum system required" to run the resulting // program. Dolphin targets Vista+, so it should be 0x0600. However in practice, // _WIN32_WINNT just removes up-level API declarations from headers. This is a // problem for XAudio2 and XInput, where Dolphin expects to compile against the // Win8+ versions of their headers. So while we really need Vista+ level of // support, we declare Win8+ here globally. If this becomes a problem, the // higher declaration can be contained to just the XAudio2/XInput related code. #define _WIN32_WINNT 0x0602 // Exclude rarely-used stuff from Windows headers #define WIN32_LEAN_AND_MEAN // Don't include Windows min/max definitions. They would conflict with the STL. #define NOMINMAX #include #endif #include "Common/Common.h" #include "Common/Thread.h"