define WIN32_LEAN_AND_MEAN for including winsock2.h after xbyak.h
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index f887386..2cf2acf 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -72,6 +72,9 @@
#define XBYAK_STD_UNORDERED_MULTIMAP std::multimap
#endif
#ifdef _WIN32
+ #ifndef WIN32_LEAN_AND_MEAN
+ #define WIN32_LEAN_AND_MEAN
+ #endif
#include <windows.h>
#include <malloc.h>
#define XBYAK_TLS __declspec(thread)
@@ -121,7 +124,7 @@
enum {
DEFAULT_MAX_CODE_SIZE = 4096,
- VERSION = 0x5930 /* 0xABCD = A.BC(D) */
+ VERSION = 0x5940 /* 0xABCD = A.BC(D) */
};
#ifndef MIE_INTEGER_TYPE_DEFINED
diff --git a/xbyak/xbyak_mnemonic.h b/xbyak/xbyak_mnemonic.h
index 9e15300..00dbf5e 100644
--- a/xbyak/xbyak_mnemonic.h
+++ b/xbyak/xbyak_mnemonic.h
@@ -1,4 +1,4 @@
-const char *getVersionString() const { return "5.93"; }
+const char *getVersionString() const { return "5.94"; }
void adc(const Operand& op, uint32 imm) { opRM_I(op, imm, 0x10, 2); }
void adc(const Operand& op1, const Operand& op2) { opRM_RM(op1, op2, 0x10); }
void adcx(const Reg32e& reg, const Operand& op) { opGen(reg, op, 0xF6, 0x66, isREG32_REG32orMEM, NONE, 0x38); }