mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-01 11:36:36 +00:00
fix some issues introduced by MSVC port
This commit is contained in:
parent
2be19c40c1
commit
b57c90dd23
@ -914,7 +914,9 @@ static insn_map insns[] = {
|
||||
{ PPC_gBCLRL, PPC_INS_BCLRL, { PPC_REG_CTR, PPC_REG_LR, PPC_REG_RM, 0 }, { PPC_REG_LR, PPC_REG_CTR, 0 }, { 0 }, 0, 0 },
|
||||
};
|
||||
|
||||
static insn_map alias_insns[] = {0, 0, {0}, {0}, {0}, 0, 0};
|
||||
static insn_map alias_insns[] = {
|
||||
{ 0, 0, { 0 }, { 0 }, { 0 }, 0, 0 },
|
||||
};
|
||||
|
||||
// given internal insn id, return public instruction info
|
||||
void PPC_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
|
||||
@ -1430,7 +1432,9 @@ static name_map insn_name_maps[] = {
|
||||
};
|
||||
|
||||
// special alias insn
|
||||
static name_map alias_insn_names[] = {0, 0};
|
||||
static name_map alias_insn_names[] = {
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const char *PPC_insn_name(csh handle, unsigned int id)
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ extern "C" {
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4201)
|
||||
#endif _MSC_VER
|
||||
#endif
|
||||
|
||||
//> Operand type for instruction's operands
|
||||
typedef enum mips_op_type {
|
||||
|
Loading…
x
Reference in New Issue
Block a user