aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-05 09:02:36 -0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-05-29 23:16:20 +0200
commit84c818a5b7705f0727ecc93c81e99fd929503d1d (patch)
treef667c3261cfd64bbbb1e041ca33a0267af4a4562
parentAlways define __USE_TIME_BITS64 when 64 bit time_t is used (diff)
downloadglibc-84c818a5b7705f0727ecc93c81e99fd929503d1d.tar.gz
glibc-84c818a5b7705f0727ecc93c81e99fd929503d1d.tar.bz2
glibc-84c818a5b7705f0727ecc93c81e99fd929503d1d.zip
Reinstate generic features-time64.h
The a4ed0471d7 removed the generic version which is included by features.h and used by Hurd. Checked by building i686-gnu and x86_64-gnu with build-many-glibc.py. (cherry picked from commit c27f8763cffbb7db9b3f1f5e09ef24d26cbb63f4) (cherry picked from commit aee37de299af95007a1f00f2cdf6c1452f39e682)
-rw-r--r--sysdeps/generic/features-time64.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysdeps/generic/features-time64.h b/sysdeps/generic/features-time64.h
new file mode 100644
index 0000000000..4d38b8ba76
--- /dev/null
+++ b/sysdeps/generic/features-time64.h
@@ -0,0 +1,19 @@
+/* Features part to handle 64-bit time_t support. Generic version.
+ Copyright (C) 2021-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/>. */
+
+/* The generic configuration only support _TIME_BITS=32. */