mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 08:33:19 +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:
committed by
Sebastian Huber
parent
468568ff18
commit
045ed584fe
@@ -273,7 +273,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