3rdparty
mcap
visibility.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if defined _WIN32 || defined __CYGWIN__
4
# ifdef __GNUC__
5
# define MCAP_EXPORT __attribute__((dllexport))
6
# define MCAP_IMPORT __attribute__((dllimport))
7
# else
8
# define MCAP_EXPORT __declspec(dllexport)
9
# define MCAP_IMPORT __declspec(dllimport)
10
# endif
11
# ifdef MCAP_IMPLEMENTATION
12
# define MCAP_PUBLIC MCAP_EXPORT
13
# else
14
# define MCAP_PUBLIC MCAP_IMPORT
15
# endif
16
#else
17
# define MCAP_EXPORT __attribute__((visibility("default")))
18
# define MCAP_IMPORT
19
# if __GNUC__ >= 4
20
# define MCAP_PUBLIC __attribute__((visibility("default")))
21
# else
22
# define MCAP_PUBLIC
23
# endif
24
#endif
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:48