about summary refs log tree commit diff
path: root/src/libstd/sys/unix/sync.rs
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-01-09 20:33:29 -0800
committerRicho Healey <richo@psych0tik.net>2015-01-11 21:14:58 -0800
commit7a05dc273dc193c747853e35231e165b2665e3f0 (patch)
tree093dfe4bcc918a1c2fda655754169054e670d20f /src/libstd/sys/unix/sync.rs
parente9908da0d7cf881391c37ff10bb5573f2d8a4198 (diff)
downloadrust-7a05dc273dc193c747853e35231e165b2665e3f0.tar.gz
rust-7a05dc273dc193c747853e35231e165b2665e3f0.zip
powerpc: pthread support
Diffstat (limited to 'src/libstd/sys/unix/sync.rs')
-rw-r--r--src/libstd/sys/unix/sync.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libstd/sys/unix/sync.rs b/src/libstd/sys/unix/sync.rs
index fbbdee1009d..c1e3fc88794 100644
--- a/src/libstd/sys/unix/sync.rs
+++ b/src/libstd/sys/unix/sync.rs
@@ -126,7 +126,8 @@ mod os {
     #[cfg(any(target_arch = "x86",
               target_arch = "arm",
               target_arch = "mips",
-              target_arch = "mipsel"))]
+              target_arch = "mipsel",
+              target_arch = "powerpc"))]
     const __SIZEOF_PTHREAD_MUTEX_T: uint = 24 - 8;
     #[cfg(target_arch = "aarch64")]
     const __SIZEOF_PTHREAD_MUTEX_T: uint = 48 - 8;
@@ -136,7 +137,8 @@ mod os {
               target_arch = "arm",
               target_arch = "aarch64",
               target_arch = "mips",
-              target_arch = "mipsel"))]
+              target_arch = "mipsel",
+              target_arch = "powerpc"))]
     const __SIZEOF_PTHREAD_COND_T: uint = 48 - 8;
 
     #[cfg(any(target_arch = "x86_64",
@@ -146,7 +148,8 @@ mod os {
     #[cfg(any(target_arch = "x86",
               target_arch = "arm",
               target_arch = "mips",
-              target_arch = "mipsel"))]
+              target_arch = "mipsel",
+              target_arch = "powerpc"))]
     const __SIZEOF_PTHREAD_RWLOCK_T: uint = 32 - 8;
 
     #[repr(C)]