[gcc r16-3520] D, Darwin, Powerpc: Fix build error.
Iain D Sandoe
iains@gcc.gnu.org
Tue Sep 2 14:57:46 GMT 2025
https://gcc.gnu.org/g:2552c73c7cdf9dffc197e6fe59e19181348464b7
commit r16-3520-g2552c73c7cdf9dffc197e6fe59e19181348464b7
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Mon Sep 1 14:00:17 2025 +0100
D, Darwin, Powerpc: Fix build error.
osthread.d is trying to use PPC_THREAD_STATE32 which is not defined
in thread_act.d (PPC_THREAD_STATE is defined for the 32b case). This
leads to a build fail for libdruntime.
libphobos/ChangeLog:
* libdruntime/core/thread/osthread.d: Use PPC_THREAD_STATE
instead of PPC_THREAD_STATE32.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diff:
---
libphobos/libdruntime/core/thread/osthread.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libphobos/libdruntime/core/thread/osthread.d b/libphobos/libdruntime/core/thread/osthread.d
index 8406458dd042..b708af297f84 100644
--- a/libphobos/libdruntime/core/thread/osthread.d
+++ b/libphobos/libdruntime/core/thread/osthread.d
@@ -110,7 +110,7 @@ else version (Posix)
else version (PPC)
{
import core.sys.darwin.mach.thread_act :
- PPC_THREAD_STATE32, PPC_THREAD_STATE32_COUNT, ppc_thread_state32_t;
+ PPC_THREAD_STATE, PPC_THREAD_STATE_COUNT, ppc_thread_state_t;
}
else version (PPC64)
{
More information about the Gcc-cvs
mailing list