Fix CPU-identification macros for RISC-V.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d3223485546e8579a1703731ef4e39a08a712860
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2026-07-01T14:10:28Z
Releases: master
Fix CPU-identification macros for RISC-V.

Turns out that RISC-V intentionally doesn't follow the common
naming pattern for CPU-identification macros.  But the point of
2ef57e636 is to have a common pattern, so we're going to override
their opinion.

Discussion: https://postgr.es/m/CA+hUKGL8Hs-phHPugrWM=5dAkcT897rXyazYzLw-Szxnzgx-rA@mail.gmail.com

Files

PathChange+/−
src/include/c.h modified +7 −4

Discussion