Skip to content

Commit 7979805

Browse files
ibuclawiains
authored andcommitted
druntime: Fix build error on Darwin Powerpc
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 druntime. Co-Authored-By: iains <[email protected]>
1 parent 029f480 commit 7979805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

druntime/src/core/thread/osthread.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ else version (Posix)
110110
else version (PPC)
111111
{
112112
import core.sys.darwin.mach.thread_act :
113-
PPC_THREAD_STATE32, PPC_THREAD_STATE32_COUNT, ppc_thread_state32_t;
113+
PPC_THREAD_STATE, PPC_THREAD_STATE_COUNT, ppc_thread_state_t;
114114
}
115115
else version (PPC64)
116116
{

0 commit comments

Comments
 (0)