Common: Fix RISC-V/64 fastjmp buffer size
This commit is contained in:
parent
b76618fdf4
commit
79b0533df2
|
@ -21,7 +21,7 @@ struct fastjmp_buf
|
||||||
#elif defined(_M_IX86) || defined(__i386__)
|
#elif defined(_M_IX86) || defined(__i386__)
|
||||||
static constexpr std::size_t BUF_SIZE = 24;
|
static constexpr std::size_t BUF_SIZE = 24;
|
||||||
#elif defined(__riscv) && __riscv_xlen == 64
|
#elif defined(__riscv) && __riscv_xlen == 64
|
||||||
static constexpr std::size_t BUF_SIZE = 208;
|
static constexpr std::size_t BUF_SIZE = 216;
|
||||||
#else
|
#else
|
||||||
#error Unknown architecture.
|
#error Unknown architecture.
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue