mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 15:28:50 +00:00
common: define time_t as 64bit
To avoid the year 2038 problem time_t must be 64bit on all architectures. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
b378fdd1ff
commit
17335a81c5
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ typedef __kernel_ptrdiff_t ptrdiff_t;
|
|||
|
||||
#ifndef _TIME_T
|
||||
#define _TIME_T
|
||||
typedef __kernel_time_t time_t;
|
||||
typedef long long time_t;
|
||||
#endif
|
||||
|
||||
#ifndef _CLOCK_T
|
||||
|
|
Loading…
Add table
Reference in a new issue