mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
Fix Intellisense error spam on Visual Studio.
Intellisense doesn't like defines in PCH files, and it doesn't like the deleted constructor for BitField. (I think it's being overly strict about the "must have no non-default constructors" rule for classes in unions.)
This commit is contained in:
@ -67,19 +67,6 @@
|
||||
#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 <Windows.h>
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user