mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 04:17:25 +00:00

On gcc 9.x, `__riscv__` is no longer defined but `__riscv` is. This is documented under C/C++ preprocessor definitions on https://github.com/riscv/riscv-toolchain-conventions
Trying to escape from the libr/core mess, we should put all the heap stuff into a separate place and use it from anal/heap.c
TODO
- remove all use of assert
- remove unused statements
- convert macros into C code, this should be a runtime library, not a compile time one