From 651b09f113e88b8d21749f0e20663dcef76efe00 Mon Sep 17 00:00:00 2001 From: Yongjin Kim Date: Fri, 1 Feb 2013 15:58:40 +0900 Subject: [PATCH] support android build --- ll.rs | 1 + netsurfcss.rc | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ll.rs b/ll.rs index f2f67de..2094f53 100644 --- a/ll.rs +++ b/ll.rs @@ -22,6 +22,7 @@ use std::libc::types::common::c99::uint32_t; extern { } #[cfg(target_os = "linux")] +#[cfg(target_os = "android")] #[nolink] #[link_args="-lcss -lparserutils -lwapcaplet"] extern { } diff --git a/netsurfcss.rc b/netsurfcss.rc index 4778d71..6dbd502 100644 --- a/netsurfcss.rc +++ b/netsurfcss.rc @@ -562,9 +562,8 @@ pub mod hint { } #[cfg(target_arch = "x86_64")] - fn status_field_offset() -> uint { 16 } - #[cfg(target_arch = "x86")] + #[cfg(target_arch = "arm")] fn status_field_offset() -> uint { 16 } priv fn hint_data_field(llhint: *mut css_hint) -> &mut T {