about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/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/mach/hurd/bits
parent9702a7901e18460e8ffc5f56a493d41294a8e936 (diff)
downloadglibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.tar.gz
glibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.tar.xz
glibc-a4b413135535c83a25a8b2d661bf1c75006dfa15.zip
Set default __TIMESIZE default to 64
This is expected size for newer ABIs.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r--sysdeps/mach/hurd/bits/timesize.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/timesize.h b/sysdeps/mach/hurd/bits/timesize.h
new file mode 100644
index 0000000000..bf94764d98
--- /dev/null
+++ b/sysdeps/mach/hurd/bits/timesize.h
@@ -0,0 +1,20 @@
+/* Bit size of the time_t type at glibc build time, Hurd.
+   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