Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 22, 2024
1 parent 6b9faa3 commit 509f10d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

#ifdef _WIN32
#include <Rembedded.h>
void send_r_interrupt() {
void send_r_interrupt(void) {
UserBreak = 1;
R_CheckUserInterrupt();
}
#else
#include <Rinterface.h>
void send_r_interrupt() {
void send_r_interrupt(void) {
Rf_onintr();
}
#endif
Expand Down

0 comments on commit 509f10d

Please sign in to comment.