mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 23:39:14 +00:00
windows: remove now-extraneous NOMINMAX and WIN32_LEAN_AND_MEAN #defines from dolphin code.
Wrap dinput.h in a header defining DIRECTINPUT_VERSION instead of repeating it multiple places.
This commit is contained in:
parent
6a5188c9bc
commit
327d35377d
12 changed files with 24 additions and 33 deletions
|
@ -4,9 +4,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file
|
||||
// since it slows down the build a lot.
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
@ -89,13 +86,6 @@ private:
|
|||
|
||||
#elif defined _WIN32
|
||||
|
||||
// Check MSC ver
|
||||
#if !defined _MSC_VER || _MSC_VER <= 1000
|
||||
#error needs at least version 1000 of MSC
|
||||
#endif
|
||||
|
||||
#define NOMINMAX
|
||||
|
||||
// Memory leak checks
|
||||
#define CHECK_HEAP_INTEGRITY()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue