core: fix windows breakage, r=burningtree.
This commit is contained in:
parent
1f1e7e9616
commit
62f6f46072
2 changed files with 5 additions and 0 deletions
|
@ -219,6 +219,7 @@ mod stat {
|
|||
#[cfg(target_os = "win32")]
|
||||
mod stat {
|
||||
pub mod arch {
|
||||
use libc;
|
||||
pub fn default_stat() -> libc::stat {
|
||||
libc::stat {
|
||||
st_dev: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue