aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-24 14:05:35 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-24 14:05:35 +0200
commitb6252d9de2f487982193569212e301fb598593dd (patch)
tree3061216335701a5faa8bd3c5c9ec0499a357be5a /src/platform/mod.rs
parentc1af76550f311e3da7a08d393b4ea9805cb61a7b (diff)
parent3ad7f9a58429b02b11b18f6a70ac011f698b6f4b (diff)
downloadglutin-b6252d9de2f487982193569212e301fb598593dd.tar.gz
glutin-b6252d9de2f487982193569212e301fb598593dd.zip
Merge pull request #393 from tomaka/reorganization
Create reorganization
Diffstat (limited to 'src/platform/mod.rs')
-rw-r--r--src/platform/mod.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/platform/mod.rs b/src/platform/mod.rs
new file mode 100644
index 0000000..68ddfcc
--- /dev/null
+++ b/src/platform/mod.rs
@@ -0,0 +1,17 @@
+pub use self::platform::*;
+
+#[cfg(target_os = "windows")]
+#[path="windows/mod.rs"]
+mod platform;
+#[cfg(target_os = "linux")]
+#[path="linux/mod.rs"]
+mod platform;
+#[cfg(target_os = "macos")]
+#[path="macos/mod.rs"]
+mod platform;
+#[cfg(target_os = "android")]
+#[path="android/mod.rs"]
+mod platform;
+
+#[cfg(all(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android")))]
+use this_platform_is_not_supported;