diff options
author | Russ Cox <rsc@swtch.com> | 2011-10-23 17:55:23 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-10-23 17:55:23 -0400 |
commit | 813b3eea8b469a6d603f13a51a8afb8e3dae3a32 (patch) | |
tree | 20b7ed1c8480d230d179c37889d273fec9053a63 /src/libthread | |
parent | a2deaac4b1066df5de4774737ddc9f4b6edbaef9 (diff) | |
download | plan9port-813b3eea8b469a6d603f13a51a8afb8e3dae3a32.tar.gz plan9port-813b3eea8b469a6d603f13a51a8afb8e3dae3a32.tar.bz2 plan9port-813b3eea8b469a6d603f13a51a8afb8e3dae3a32.zip |
OS X PowerPC fixes (thanks Cameron Kaiser)
Diffstat (limited to 'src/libthread')
-rw-r--r-- | src/libthread/sysofiles.sh | 2 | ||||
-rw-r--r-- | src/libthread/threadimpl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh index 487750ea..d4f852a4 100644 --- a/src/libthread/sysofiles.sh +++ b/src/libthread/sysofiles.sh @@ -14,7 +14,7 @@ case "$tag" in *-NetBSD-*) echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME.o ;; -*-Darwin-10.[5-6].* | *-Darwin-9.*) +*-Darwin-10.[5-6].* | *-Darwin-[89].*) echo ${SYSNAME}-${OBJTYPE}-asm.o $SYSNAME-${OBJTYPE}.o pthread.o ;; *-OpenBSD-*) diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index e4220dbf..4397bac7 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -42,7 +42,7 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...); # include "386-ucontext.h" # elif defined(__x86_64__) # include "x86_64-ucontext.h" -# elif defined(__power__) +# elif defined(__ppc__) || defined(__power__) # include "power-ucontext.h" # else # error "unknown architecture" |