Common: Add WIN32_LEAN_AND_MEAN and NOMINMAX to RedtapeWindows.h

Otherwise, it doesn't get set for cmake.
This commit is contained in:
Connor McLaughlin 2022-05-06 00:22:26 +10:00 committed by refractionpcsx2
parent 008beb4896
commit b22e31c302
1 changed files with 10 additions and 0 deletions

View File

@ -14,10 +14,20 @@
*/
#pragma once
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <VersionHelpers.h>
#include <ShTypes.h>
#include <timeapi.h>
#include <wx/msw/wrapwin.h>
#endif