mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-16 20:17:05 +03:00
Visual Studio 2015/2017 compatibility (#383)
This commit is contained in:
@@ -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) \
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user