Skip to content

Commit

Permalink
Fix build with r2 >= 5.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Dec 10, 2024
1 parent 868e214 commit 6b59d1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/io_frida.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,11 @@ static void exec_pending_cmd_if_needed(RIOFrida * rf) {
if (!rf->pending_cmd) {
return;
}
#if R2_VERSION_NUMBER >= 50909
char *output = COREBIND (rf->io).cmdStr (rf->r2core, rf->pending_cmd->cmd_string);
#else
char *output = COREBIND (rf->io).cmdstr (rf->r2core, rf->pending_cmd->cmd_string);
#endif

ut64 serial = rf->pending_cmd->serial;
pending_cmd_free (rf->pending_cmd);
Expand Down

0 comments on commit 6b59d1b

Please sign in to comment.