aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorUK992 <urbankrajnc92@gmail.com>2016-07-25 14:43:06 +0200
committerUK992 <urbankrajnc92@gmail.com>2016-07-25 14:43:06 +0200
commit06142b37b85371d92005ee38da7e6c752ab43be8 (patch)
tree3017730e5bae175b205480f2e9cddbd128346a1d /components/script/lib.rs
parent521f8c013524b64daefc9c34c46263868f902de4 (diff)
downloadservo-06142b37b85371d92005ee38da7e6c752ab43be8.tar.gz
servo-06142b37b85371d92005ee38da7e6c752ab43be8.zip
Support tinyfiledialogs on Windows
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 78a84f83586..5b16377fe68 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -82,7 +82,7 @@ extern crate smallvec;
#[macro_use]
extern crate style;
extern crate time;
-#[cfg(any(target_os = "macos", target_os = "linux"))]
+#[cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))]
extern crate tinyfiledialogs;
extern crate url;
#[macro_use]
@@ -186,4 +186,3 @@ pub fn init(sw_senders: SWManagerSenders) {
pub unsafe fn script_can_initiate_scroll(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool {
!opts::get().use_webrender
}
-