]> git.proxmox.com Git - rustc.git/blobdiff - library/std/src/sys/unix/time.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / library / std / src / sys / unix / time.rs
index 23a5c81c0053bb4abdf8b2cc2c4f520dcc035b0c..7dc09add27fd717c7487bd2af781a4c9dc1f7131 100644 (file)
@@ -361,9 +361,9 @@ mod inner {
         }
     }
 
-    #[cfg(not(target_os = "dragonfly"))]
+    #[cfg(not(any(target_os = "dragonfly", target_os = "espidf")))]
     pub type clock_t = libc::c_int;
-    #[cfg(target_os = "dragonfly")]
+    #[cfg(any(target_os = "dragonfly", target_os = "espidf"))]
     pub type clock_t = libc::c_ulong;
 
     fn now(clock: clock_t) -> Timespec {