summaryrefslogtreecommitdiffstats
path: root/include/opentracing/symbols.h
blob: b359ced8e481333d227dfd614b0b8533e4685240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef OPENTRACING_SYMBOLS_H
#define OPENTRACING_SYMBOLS_H

#include <opentracing/config.h>

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4251)
#endif

#ifdef _MSC_VER

#define OPENTRACING_EXPORT __declspec(dllexport)

// Export if this is our own source, otherwise import:
#ifndef OPENTRACING_STATIC
#ifdef OPENTRACING_EXPORTS
#define OPENTRACING_API __declspec(dllexport)
#else  // OPENTRACING_STATIC
#define OPENTRACING_API __declspec(dllimport)
#endif  // OPENTRACING_EXPORTS
#endif  // OPENTRACING_STATIC

#endif  // _MSC_VER

#ifndef OPENTRACING_EXPORT
#define OPENTRACING_EXPORT
#endif

#ifndef OPENTRACING_API
#define OPENTRACING_API
#endif

#endif  // OPENTRACING_SYMBOLS_H