mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-26 11:50:59 +00:00
RISC-V support
With some addition to macros the project is able to build on riscv64 machine. plthook has added RISC-V support upstream [1]. However upstream has changed their code quite a bit, so I just modified the current vendored version. [1]: https://github.com/kubo/plthook/commit/a564738a4707fc5eb4d388b9e97eeab51b8c9d56
This commit is contained in:
committed by
Baldur Karlsson
parent
2886f4a282
commit
f36d8a3b23
@@ -36,8 +36,9 @@
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
// Build/machine configuration
|
||||
#if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || \
|
||||
defined(__ia64) || defined(_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
|
||||
#if defined(__LP64__) || defined(_WIN64) || defined(__x86_64__) || defined(_M_X64) || \
|
||||
defined(__ia64) || defined(_M_IA64) || defined(__aarch64__) || defined(__powerpc64__) || \
|
||||
(defined(__riscv64) && __riscv_xlen == 64)
|
||||
#define RDOC_X64 OPTION_ON
|
||||
#else
|
||||
#define RDOC_X64 OPTION_OFF
|
||||
|
||||
Reference in New Issue
Block a user