Cleanup: Move wrapper/ headers to include/wrapper/
[lttng-modules.git] / include / wrapper / time.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
2 *
3 * wrapper/time.h
4 *
5 * Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
6 * Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 */
8
9 #ifndef _LTTNG_WRAPPER_TIME_H
10 #define _LTTNG_WRAPPER_TIME_H
11
12 #include <linux/version.h>
13
14 /*
15 * Use 64bit timespec on kernels that have it, this makes 32bit arch
16 * y2038 compliant.
17 */
18 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0))
19 # define LTTNG_KERNEL_HAS_TIMESPEC64
20 #endif
21
22 #endif /* _LTTNG_WRAPPER_TIME_H */
This page took 0.029715 seconds and 4 git commands to generate.