Skip to content

Commit d89ae65

Browse files
committed
runtime/riscv: fix __riscv macro
1 parent 6fdda16 commit d89ae65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/core/barrier.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ static void alaska_barrier_signal_handler(int sig, siginfo_t* info, void* ptr) {
449449
return_address = ucontext->uc_mcontext.gregs[REG_RIP];
450450
#elif defined(__aarch64__)
451451
return_address = ucontext->uc_mcontext.pc;
452-
#elif defined(__riscv__)
452+
#elif defined(__riscv)
453453
return_address = ucontext->uc_mcontext.__gregs[REG_PC];
454454
#endif
455455

0 commit comments

Comments
 (0)