Fix: truncated len in lttng_event_rule_user_tracepoint_serialize()
[lttng-tools.git] / src / common / compat / path.h
1 /*
2 * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef _COMPAT_PATH_H
9 #define _COMPAT_PATH_H
10
11 /* Build platform's preferred path separator. */
12 #if defined(_WIN32) || defined(__CYGWIN__)
13 #define LTTNG_PATH_SEPARATOR '\\'
14 #else
15 #define LTTNG_PATH_SEPARATOR '/'
16 #endif
17
18 #endif /* _COMPAT_PATH_H */
This page took 0.03099 seconds and 4 git commands to generate.