Commit | Line | Data |
---|---|---|
6ec9dc48 | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
6ec9dc48 | 3 | * |
c922647d | 4 | * SPDX-License-Identifier: LGPL-2.1-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 */ |