mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Instead of using an incomplete list of platforms that uses 64bits time_t
in 32bits mode, special case amd64, as i386 is the only arch that still uses 32bits time_t.
This commit is contained in:
parent
e49ec46114
commit
7045ac437b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342978
@ -145,7 +145,8 @@ sysctl_kern_boottime(SYSCTL_HANDLER_ARGS)
|
||||
|
||||
getboottime(&boottime);
|
||||
|
||||
#ifndef __mips__
|
||||
/* i386 is the only arch which uses a 32bits time_t */
|
||||
#ifdef __amd64__
|
||||
#ifdef SCTL_MASK32
|
||||
int tv[2];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user