From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id F2718393BC2D; Tue, 23 Feb 2021 12:38:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F2718393BC2D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/y2038] y2038: Add __USE_TIME_BITS64 support for time_t X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/y2038 X-Git-Oldrev: 32cc899ed5123a1572cebd9c74092f3eed417b84 X-Git-Newrev: ee5fd6db6556f6c485072d98e5de6506043fae77 Message-Id: <20210223123804.F2718393BC2D@sourceware.org> Date: Tue, 23 Feb 2021 12:38:04 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 12:38:05 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee5fd6db6556f6c485072d98e5de6506043fae77 commit ee5fd6db6556f6c485072d98e5de6506043fae77 Author: Adhemerval Zanella Date: Wed Feb 17 16:18:42 2021 -0300 y2038: Add __USE_TIME_BITS64 support for time_t The __USE_TIME_BITS64 is not defined internally yet. Diff: --- time/bits/types/time_t.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/time/bits/types/time_t.h b/time/bits/types/time_t.h index ab8287c6fe..84d67f6ac3 100644 --- a/time/bits/types/time_t.h +++ b/time/bits/types/time_t.h @@ -4,6 +4,10 @@ #include /* Returned by `time'. */ +#ifdef __USE_TIME_BITS64 +typedef __time64_t time_t; +#else typedef __time_t time_t; +#endif #endif