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>
This commit is contained in:
Iain Sandoe
2025-09-01 14:00:17 +01:00
parent b839cac4d6
commit 2552c73c7c

View 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)
{