architecture: drop __riscv__ checks, it's obsolete since 2018

This commit is contained in:
Lennart Poettering
2021-11-10 12:38:32 +01:00
parent 4b499063ac
commit 3299c293db
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -106,8 +106,7 @@ int uname_architecture(void) {
{ "crisv32", ARCHITECTURE_CRIS },
#elif defined(__nios2__)
{ "nios2", ARCHITECTURE_NIOS2 },
#elif defined(__riscv__) || defined(__riscv)
/* __riscv__ is obsolete, remove in 2018 */
#elif defined(__riscv)
{ "riscv32", ARCHITECTURE_RISCV32 },
{ "riscv64", ARCHITECTURE_RISCV64 },
# if __SIZEOF_POINTER__ == 4