powerpc: Tell liballoc about power alignment

This commit is contained in:
Richo Healey
2015-01-09 19:54:55 -08:00
parent 194ed4f5a0
commit e5bbe8244b

View File

@@ -119,7 +119,8 @@ unsafe fn exchange_free(ptr: *mut u8, old_size: uint, align: uint) {
not(feature = "external_crate"), not(feature = "external_crate"),
any(target_arch = "arm", any(target_arch = "arm",
target_arch = "mips", target_arch = "mips",
target_arch = "mipsel")))] target_arch = "mipsel",
target_arch = "powerpc")))]
const MIN_ALIGN: uint = 8; const MIN_ALIGN: uint = 8;
#[cfg(all(not(feature = "external_funcs"), #[cfg(all(not(feature = "external_funcs"),
not(feature = "external_crate"), not(feature = "external_crate"),