fix riscv64 signal.h namespace violations and ucontext API mismatches
[musl] / arch / riscv64 / pthread_arch.h
index 1268b72..db414b1 100644 (file)
@@ -11,4 +11,4 @@ static inline struct pthread *__pthread_self()
 
 #define DTP_OFFSET 0x800
 
-#define MC_PC gregs[0]
+#define MC_PC __gregs[0]