Visual Studio 2015/2017 compatibility (#383)

This commit is contained in:
Viktor Chlumský
2022-10-09 13:05:20 +02:00
committed by GitHub
parent 8dd64c32ac
commit bb3dc125fa
2 changed files with 2 additions and 2 deletions

View File

@@ -586,7 +586,7 @@ namespace asmjit {
//! \def ASMJIT_DEFINE_ENUM_COMPARE(T)
//!
//! Defines comparison operations for enumeration flags.
#ifdef _DOXYGEN
#if defined(_DOXYGEN) || (defined(_MSC_VER) && _MSC_VER <= 1900)
#define ASMJIT_DEFINE_ENUM_COMPARE(T)
#else
#define ASMJIT_DEFINE_ENUM_COMPARE(T) \

View File

@@ -23,7 +23,7 @@ namespace EmitterUtils {
//! Default paddings used by Emitter utils and Formatter.
static constexpr Operand noExt[3];
static constexpr Operand noExt[3] = { {}, {}, {} };
enum kOpIndex : uint32_t {
kOp3 = 0,