Fix: different pthread_getname_np signature() on macOS causes build failure
[lttng-tools.git] / src / common / compat / path.h
CommitLineData
6ec9dc48 1/*
ab5be9fa 2 * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6ec9dc48 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-only
6ec9dc48 5 *
6ec9dc48
JG
6 */
7
2c5426c3
MJ
8#ifndef _COMPAT_PATH_H
9#define _COMPAT_PATH_H
10
6ec9dc48
JG
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
2c5426c3
MJ
17
18#endif /* _COMPAT_PATH_H */
This page took 0.026028 seconds and 4 git commands to generate.