summarylogtreecommitdiffstats
path: root/0001-Add-riscv64-support.patch
blob: 5e6033a6a9b2feddf98039be7385ec9e1386cd09 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/sljit/sljitConfigInternal.h
+++ b/sljit/sljitConfigInternal.h
@@ -142,6 +142,8 @@
 #define SLJIT_CONFIG_SPARC_32 1
 #elif defined(__tilegx__)
 #define SLJIT_CONFIG_TILEGX 1
+#elif defined(__riscv)
+#define SLJIT_CONFIG_RISCV64 1
 #else
 /* Unsupported architecture */
 #define SLJIT_CONFIG_UNSUPPORTED 1