aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-09-01 14:00:17 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-09-02 15:57:33 +0100
commit2552c73c7cdf9dffc197e6fe59e19181348464b7 (patch)
tree7809cc25a391f3a313b510d61321b270dc20dc5c
parentb839cac4d6c3f8be8c4d94a39f59aa7a5fd7271a (diff)
downloadgcc-2552c73c7cdf9dffc197e6fe59e19181348464b7.zip
gcc-2552c73c7cdf9dffc197e6fe59e19181348464b7.tar.gz
gcc-2552c73c7cdf9dffc197e6fe59e19181348464b7.tar.bz2
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>
-rw-r--r--libphobos/libdruntime/core/thread/osthread.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/libphobos/libdruntime/core/thread/osthread.d b/libphobos/libdruntime/core/thread/osthread.d
index 8406458..b708af2 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)
{