aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-07-30 00:59:50 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-08-01 20:58:05 +0200
commite5c75479c2c166c99219083fd24b70901d776367 (patch)
tree508cb67fefe0ec7b85710daa745c3993af7c2eeb /lib/libc/include
parent5e08d00862fb10c72cd011bf29112e12ef38d576 (diff)
downloadzig-e5c75479c2c166c99219083fd24b70901d776367.tar.gz
zig-e5c75479c2c166c99219083fd24b70901d776367.zip
std.Target: Rework isPPC()/isPPC64() functions.
* Rename isPPC() -> isPowerPC32(). * Rename isPPC64() -> isPowerPC64(). * Add new isPowerPC() function which covers both. There was confusion even in the standard library about what isPPC() meant. This change makes these functions work how I think most people actually expect them to work, and makes them consistent with isMIPS(), isSPARC(), etc. I chose to rename from PPC to PowerPC because 1) it's more consistent with the other functions, and 2) it'll cause loud rather than silent breakage for anyone who might have been depending on isPPC() while misunderstanding it.
Diffstat (limited to 'lib/libc/include')
0 files changed, 0 insertions, 0 deletions