1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:37:44 +00:00

Kernel+LibC+Userland: Switch to 64-bit time_t

Let's not have that 2038 problem people are talking about. :^)
This commit is contained in:
Andreas Kling 2020-01-27 10:56:04 +01:00
parent 6906edee9a
commit 23ffd6c319
5 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ typedef uint16_t mode_t;
typedef uint32_t nlink_t;
typedef uint32_t blksize_t;
typedef uint32_t blkcnt_t;
typedef uint32_t time_t;
typedef int64_t time_t;
typedef uint32_t useconds_t;
typedef int32_t suseconds_t;
typedef uint32_t clock_t;

View file

@ -49,7 +49,7 @@ extern char* tzname[2];
extern int daylight;
typedef uint32_t clock_t;
typedef uint32_t time_t;
typedef int64_t time_t;
struct tm* localtime(const time_t*);
struct tm* gmtime(const time_t*);