linux: fix ntp_gettime abi break (BZ# 30156)
[glibc.git] / io / fts64-time64.c
blob33c393bcedb1b5a987852efa08c6f3d516514451
1 /* File tree traversal functions LFS version.
2 Copyright (C) 2015-2023 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
19 #include <time.h>
21 #if __TIMESIZE != 64
22 # define FTS_OPEN __fts64_open_time64
23 # define FTS_CLOSE __fts64_close_time64
24 # define FTS_READ __fts64_read_time64
25 # define FTS_SET __fts64_set_time64
26 # define FTS_CHILDREN __fts64_children_time64
27 # define FTSOBJ FTS64_TIME64
28 # define FTSENTRY FSTENT64_TIME64
29 # define INO_T ino64_t
30 # define STRUCT_STAT __stat64_t64
31 # define STAT __stat64_time64
32 # define LSTAT __lstat64_time64
34 # include "fts.c"
35 #endif