summaryrefslogtreecommitdiff
path: root/.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h
diff options
context:
space:
mode:
authornil <niljo@airmail.cc>2025-01-14 20:16:17 +0100
committernil <niljo@airmail.cc>2025-01-14 20:16:17 +0100
commit9cd3e10283ea0c6cc997afc5353c0f314b3aa092 (patch)
tree4aa0ae912633a0f3e7a7d1405469bb7009cef1ba /.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h
parent23a62d70129db30027ba620fc798a666c198ba35 (diff)
changing host repositorymain
Diffstat (limited to '.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h')
-rwxr-xr-x.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h b/.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h
new file mode 100755
index 0000000..8d573cd
--- /dev/null
+++ b/.ccls-cache/@@home@niliara@configs/@usr@include@features-time64.h
@@ -0,0 +1,42 @@
+/* Features part to handle 64-bit time_t support.
+ 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/>. */
+
+/* We need to know the word size in order to check the time size. */
+#include <bits/wordsize.h>
+#include <bits/timesize.h>
+
+#if defined _TIME_BITS
+# if _TIME_BITS == 64
+# if ! defined (_FILE_OFFSET_BITS) || _FILE_OFFSET_BITS != 64
+# error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
+# endif
+# define __USE_TIME_BITS64 1
+# elif _TIME_BITS == 32
+# if __TIMESIZE > 32
+# error "_TIME_BITS=32 is not compatible with __TIMESIZE > 32"
+# endif
+# else
+# error Invalid _TIME_BITS value (can only be 32 or 64-bit)
+# endif
+#elif __TIMESIZE == 64
+# define __USE_TIME_BITS64 1
+#endif
+
+#if defined __USE_TIME_BITS64 && __TIMESIZE == 32
+# define __USE_TIME64_REDIRECTS 1
+#endif