mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
836d43b989
These structs describe file formats under /var/log, and should not
depend on the definition of _TIME_BITS. This is achieved by
defining __WORDSIZE_TIME64_COMPAT32 to 1 on 32-bit ports that
support 32-bit time_t values (where __time_t is 32 bits).
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 9abdae94c7
)
28 lines
984 B
C
28 lines
984 B
C
/* Copyright (C) 2002-2024 Free Software Foundation, Inc.
|
|
This file is part of the GNU C Library.
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with the GNU C Library. If not, see
|
|
<https://www.gnu.org/licenses/>. */
|
|
|
|
#include <sgidefs.h>
|
|
|
|
#define __WORDSIZE _MIPS_SZPTR
|
|
|
|
#define __WORDSIZE_TIME64_COMPAT32 1
|
|
|
|
#if __WORDSIZE == 32
|
|
#define __WORDSIZE32_SIZE_ULONG 0
|
|
#define __WORDSIZE32_PTRDIFF_LONG 0
|
|
#endif
|