1 | #[cfg (unix)] |
2 | mod unix; |
3 | #[cfg (unix)] |
4 | pub use self::unix::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout}; |
5 | |
6 | #[cfg (windows)] |
7 | mod windows; |
8 | #[cfg (windows)] |
9 | pub use self::windows::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout}; |
10 | |
11 | // makes project compilable on unsupported platforms |
12 | #[cfg (not(any(unix, windows)))] |
13 | mod unsupported; |
14 | #[cfg (not(any(unix, windows)))] |
15 | pub use self::unsupported::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout}; |
16 | |