diff options
Diffstat (limited to 'src/platform/mod.rs')
-rw-r--r-- | src/platform/mod.rs | 17 |
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; |