]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
D, Darwin, Powerpc: Fix build error.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 1 Sep 2025 13:00:17 +0000 (14:00 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Tue, 2 Sep 2025 14:57:33 +0000 (15:57 +0100)
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>
libphobos/libdruntime/core/thread/osthread.d

index 8406458dd042f6979287b7c9aae8f26077912305..b708af297f84343a1f867202f801bb6084ca5600 100644 (file)
@@ -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)
         {