fix compilation on macos/windows

This commit is contained in:
Daniel Micay 2013-07-24 01:48:11 -04:00
parent c50d3e3fca
commit 4a2d22bdb1
2 changed files with 3 additions and 2 deletions

View file

@ -158,6 +158,7 @@ mod imp {
#[cfg(target_os = "macos")]
#[cfg(target_os = "win32")]
mod imp {
use option::Option;
pub unsafe fn init(_argc: int, _argv: **u8) {
}
@ -176,4 +177,4 @@ mod imp {
pub fn clone() -> Option<~[~str]> {
fail!()
}
}
}

View file

@ -13,6 +13,6 @@
fn main() {
unsafe {
std::cast::transmute::<[int,..1],int>([1])
::std::cast::transmute::<[int,..1],int>([1])
};
}