Skip to content

Commit 390f979

Browse files
Kalamateedeadwood
authored and
deadwood
committed
recognize riscv as a cpu model
1 parent 5c26af6 commit 390f979

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

external/openurl/cmd/version.h

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
#define CPU "x86"
6969
#elif defined(__x86_64__)
7070
#define CPU "x86_64"
71+
#elif defined(__riscv64)
72+
#define CPU "RISC-V 64bit"
73+
#elif defined(__riscv)
74+
#define CPU "RISC-V"
7175
#elif defined(__arm__)
7276
#define CPU "ARM"
7377
#else

0 commit comments

Comments
 (0)