chmlib: fix patch for riscv64
This commit is contained in:
parent
ffdddee160
commit
d4d7613f6e
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
/* x86-64 */
|
||||
/* Note that these may be appropriate for other 64-bit machines. */
|
||||
-#elif __x86_64__ || __ia64__
|
||||
+#elif __x86_64__ || __ia64__ || __aarch64__ || __powerpc64__
|
||||
+#elif __x86_64__ || __ia64__ || __aarch64__ || __powerpc64__ || ( defined(__riscv_xlen) && __riscv_xlen == 64)
|
||||
typedef unsigned char UChar;
|
||||
typedef short Int16;
|
||||
typedef unsigned short UInt16;
|
Loading…
Add table
Reference in a new issue