Some work towards iOS build (#9045)

This commit is contained in:
Pierre Krieger
2018-07-10 10:33:09 +02:00
committed by Niklas Adolfsson
parent c63452e25d
commit bca100cdb0
2 changed files with 13 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ pub fn open(url: &str) -> Result<(), Error> {
Ok(())
}
#[cfg(target_os="android")]
#[cfg(any(target_os="android", target_os="ios"))]
pub fn open(_url: &str) -> Result<(), Error> {
// TODO: While it is generally always bad to leave a function implemented, there is not much
// more we can do here. This function will eventually be removed when we compile Parity