Page MenuHomeFreeBSD

D56401.1795534964.diff
No OneTemporary

Authored By
Unknown
Size
535 B
Referenced Files
None
Subscribers
None

D56401.1795534964.diff

diff --git a/sys/sys/time.h b/sys/sys/time.h
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -355,7 +355,7 @@
static __inline sbintime_t
tstosbt_sat(struct timespec _ts)
{
-#ifndef __i386__
+#if __SIZEOF_TIME_T > 4
if (_ts.tv_sec > SBT_MAX >> 32)
return (SBT_MAX);
if (_ts.tv_sec < -(SBT_MAX >> 32) - 1)
@@ -384,7 +384,7 @@
static __inline sbintime_t
tvtosbt_sat(struct timeval _tv)
{
-#ifndef __i386__
+#if __SIZEOF_TIME_T > 4
if (_tv.tv_sec > SBT_MAX >> 32)
return (SBT_MAX);
if (_tv.tv_sec < -(SBT_MAX >> 32) - 1)

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 24, 3:42 PM (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41957810
Default Alt Text
D56401.1795534964.diff (535 B)

Event Timeline