Remove winnt feature, not needed.

This commit is contained in:
Steve Pentland authored and sharkdp committed 2018-02-13 21:01:59 +01:00
1 parent 5eaa6d8dff
commit 79c375af0f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ atty = "0.2.2"
libc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef", "winnt"] }
winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef"] }
[dependencies.clap]
version = "2"
+1
View File
@@ -50,6 +50,7 @@ fn get_cpu_times() -> CPUTimes {
// Winapi reports times as per 100 nanosecond
const HUNDRED_NS_PER_MS: i64 = 10;
let mut _ctime = FILETIME {
dwLowDateTime: 0,
dwHighDateTime: 0,