https://gcc.gnu.org/g:2552c73c7cdf9dffc197e6fe59e19181348464b7

commit r16-3520-g2552c73c7cdf9dffc197e6fe59e19181348464b7
Author: Iain Sandoe <i...@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 <i...@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)
         {

Reply via email to