Skip to content

Commit

Permalink
Sync DISASM_INTEL_SYNTAX condition #if/ifdef/defined (-Wundef)
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Jun 10, 2024
1 parent 5be6dd8 commit 1e42c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir_disasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ int ir_disasm(const char *name,
}
# endif
cs_option(cs, CS_OPT_DETAIL, CS_OPT_ON);
# if DISASM_INTEL_SYNTAX
# ifdef DISASM_INTEL_SYNTAX
cs_option(cs, CS_OPT_SYNTAX, CS_OPT_SYNTAX_INTEL);
# else
cs_option(cs, CS_OPT_SYNTAX, CS_OPT_SYNTAX_ATT);
Expand Down

0 comments on commit 1e42c22

Please sign in to comment.