lib: compile liblttng-ctl as C++
[lttng-tools.git] / include / lttng / lttng-export.h
1 /*
2 * Copyright (C) 2021 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7 #ifndef LTTNG_EXPORT_H
8 #define LTTNG_EXPORT_H
9 #if defined(_WIN32) || defined(__CYGWIN__)
10 # define LTTNG_EXPORT
11 #else
12 # define LTTNG_EXPORT __attribute__((visibility("default")))
13 #endif
14 #endif
This page took 0.028473 seconds and 4 git commands to generate.