sdl2: Only import things under Windows in build.rs
To suppress unused import warnings under Linux. Former-commit-id: 8730aa1d753861e5179f85ee9c95c66ad0dd62bd Former-commit-id: 505dc43254fa109cd96feee8de5f6d8e2d30abf3
This commit is contained in:
parent
90360fddd2
commit
6161892237
|
@ -1,4 +1,6 @@
|
|||
#[cfg(windows)]
|
||||
use std::env;
|
||||
#[cfg(windows)]
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[cfg(windows)]
|
||||
|
|
Reference in a new issue