mirror of
https://github.com/FEX-Emu/xbyak.git
synced 2024-11-27 00:20:48 +00:00
define WIN32_LEAN_AND_MEAN for including winsock2.h after xbyak.h
This commit is contained in:
parent
42dddb740c
commit
9a1749e655
@ -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 @@ namespace Xbyak {
|
||||
|
||||
enum {
|
||||
DEFAULT_MAX_CODE_SIZE = 4096,
|
||||
VERSION = 0x5930 /* 0xABCD = A.BC(D) */
|
||||
VERSION = 0x5940 /* 0xABCD = A.BC(D) */
|
||||
};
|
||||
|
||||
#ifndef MIE_INTEGER_TYPE_DEFINED
|
||||
|
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user