mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
y2038: Add __USE_TIME_BITS64 support for struct utimbuf
The __USE_TIME_BITS64 is not defined internally yet. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
c606975bd0
commit
75c526fa69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user