Support the new MSVC preprocessor

Intends to fix https://bugs.dolphin-emu.org/issues/12170.
This commit is contained in:
JosJuice
2020-06-29 13:50:07 +02:00
parent 961f937010
commit 293745afce
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ constexpr u32 MAX_XFB_WIDTH = 720;
// that are next to each other in memory (TODO: handle that situation).
constexpr u32 MAX_XFB_HEIGHT = 576;
#ifdef _WIN32
#if defined(_WIN32) && (!defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL == 1)
#define PRIM_LOG(...) DEBUG_LOG(VIDEO, __VA_ARGS__)
#else
#define PRIM_LOG(...) DEBUG_LOG(VIDEO, ##__VA_ARGS__)