This commit is contained in:
k-brac 2016-11-29 16:27:23 +01:00
parent 7f2ee9a09a
commit f66b533a95

View file

@ -1,9 +1,9 @@
fn main() { fn main() {
child_window_exemple::child_window(); child_window_example::child_window();
} }
#[cfg(windows)] #[cfg(windows)]
mod child_window_exemple { mod child_window_example {
extern crate winit; extern crate winit;
extern crate winapi; extern crate winapi;
@ -59,6 +59,6 @@ mod child_window_exemple {
} }
#[cfg(not(windows))] #[cfg(not(windows))]
mod child_window_exemple { mod child_window_example {
pub fn child_window() {} pub fn child_window() {}
} }