forked from Imagelibrary/rtems
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:
committed by
Moyano, Gabriel
parent
975ecc1702
commit
a9ce44bf8f
@@ -256,7 +256,8 @@ sysctl_kern_boottime(SYSCTL_HANDLER_ARGS)
|
|||||||
|
|
||||||
getboottime(&boottime);
|
getboottime(&boottime);
|
||||||
|
|
||||||
#ifndef __mips__
|
/* i386 is the only arch which uses a 32bits time_t */
|
||||||
|
#ifdef __amd64__
|
||||||
#ifdef SCTL_MASK32
|
#ifdef SCTL_MASK32
|
||||||
int tv[2];
|
int tv[2];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user