msvc: enable /Zc:preprocessor and make build compile cleanly

This commit is contained in:
Shawn Hoffman
2020-08-27 21:58:48 -07:00
parent 4db06bf85b
commit 969ea6e4f5
6 changed files with 13 additions and 57 deletions

View File

@ -12,6 +12,13 @@
#include "Common/CommonTypes.h"
#define CHECK(cond, Message, ...) \
if (!(cond)) \
{ \
PanicAlert("%s failed in %s at line %d: " Message, __func__, __FILE__, __LINE__, \
##__VA_ARGS__); \
}
struct IDXGIFactory;
enum class AbstractTextureFormat : u32;