1 /*
2 * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io>
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 #include "defs.h"
9
10 #if HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32
11
12 # define TIMESPEC_T kernel_timespec32_t
13 # define PRINT_TIMESPEC_DATA_SIZE print_timespec32_data_size
14 # define PRINT_TIMESPEC_ARRAY_DATA_SIZE print_timespec32_array_data_size
15 # if HAVE_ARCH_TIME32_SYSCALLS
16 # define PRINT_TIMESPEC print_timespec32
17 # define SPRINT_TIMESPEC sprint_timespec32
18 # define PRINT_TIMESPEC_UTIME_PAIR print_timespec32_utime_pair
19 # define PRINT_ITIMERSPEC print_itimerspec32
20 # endif /* HAVE_ARCH_TIME32_SYSCALLS */
21
22 # include "kernel_timespec.h"
23 # include "print_timespec.h"
24
25 #endif /* HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32 */