diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-17 16:20:18 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-18 20:42:42 -0300 |
commit | b8834bc0402df7fe206a0c81c987587084365b14 (patch) | |
tree | a88ae1c20f141743368cd1eb4c916f134b27776b | |
parent | 4e1c9764e5180e7f54567b432e13a2b5db5d3228 (diff) | |
download | glibc-b8834bc0402df7fe206a0c81c987587084365b14.tar.gz |
y2038: Add __USE_TIME_BITS64 support for struct utimbuf
The __USE_TIME_BITS64 is not defined internally yet.
-rw-r--r-- | io/utime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/io/utime.h b/io/utime.h index df2299e406..c7612d0838 100644 --- a/io/utime.h +++ b/io/utime.h @@ -35,8 +35,13 @@ __BEGIN_DECLS /* Structure describing file times. */ struct utimbuf { +#ifdef __USE_TIME_BITS64 + __time64_t actime; /* Access time. */ + __time64_t modtime; /* Modification time. */ +#else __time_t actime; /* Access time. */ __time_t modtime; /* Modification time. */ +#endif }; /* Set the access and modification times of FILE to those given in |