Page MenuHomeFreeBSD

D56401.id177134.diff
No OneTemporary

D56401.id177134.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
Wed, May 27, 9:27 AM (8 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32699678
Default Alt Text
D56401.id177134.diff (535 B)

Event Timeline