aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/nios2/bits
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-17 09:18:52 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-23 11:41:08 -0300
commita4b413135535c83a25a8b2d661bf1c75006dfa15 (patch)
treea3c23df7921b90c264f9b0e616a101e7fb50339d /sysdeps/unix/sysv/linux/nios2/bits
parent9702a7901e18460e8ffc5f56a493d41294a8e936 (diff)
downloadglibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.tar
glibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.tar.gz
glibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.tar.bz2
glibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.zip
Set default __TIMESIZE default to 64
This is expected size for newer ABIs.
Diffstat (limited to 'sysdeps/unix/sysv/linux/nios2/bits')
-rw-r--r--sysdeps/unix/sysv/linux/nios2/bits/timesize.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/bits/timesize.h b/sysdeps/unix/sysv/linux/nios2/bits/timesize.h
new file mode 100644
index 0000000000..29d1730d39
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/nios2/bits/timesize.h
@@ -0,0 +1,20 @@
+/* Bit size of the time_t type at glibc build time, Linux/NIOS2.
+ Copyright (C) 2021 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/>. */
+
+/* Size in bits of the 'time_t' type of the default ABI. */
+#define __TIMESIZE 32