Skip to content

Commit 6b59d1b

Browse files
committed
Fix build with r2 >= 5.9.9
1 parent 868e214 commit 6b59d1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/io_frida.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,11 @@ static void exec_pending_cmd_if_needed(RIOFrida * rf) {
15871587
if (!rf->pending_cmd) {
15881588
return;
15891589
}
1590+
#if R2_VERSION_NUMBER >= 50909
1591+
char *output = COREBIND (rf->io).cmdStr (rf->r2core, rf->pending_cmd->cmd_string);
1592+
#else
15901593
char *output = COREBIND (rf->io).cmdstr (rf->r2core, rf->pending_cmd->cmd_string);
1594+
#endif
15911595

15921596
ut64 serial = rf->pending_cmd->serial;
15931597
pending_cmd_free (rf->pending_cmd);

0 commit comments

Comments
 (0)