From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- .../opentracing-cpp/include/opentracing/symbols.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/jaegertracing/opentracing-cpp/include/opentracing/symbols.h (limited to 'src/jaegertracing/opentracing-cpp/include/opentracing/symbols.h') diff --git a/src/jaegertracing/opentracing-cpp/include/opentracing/symbols.h b/src/jaegertracing/opentracing-cpp/include/opentracing/symbols.h new file mode 100644 index 000000000..b359ced8e --- /dev/null +++ b/src/jaegertracing/opentracing-cpp/include/opentracing/symbols.h @@ -0,0 +1,34 @@ +#ifndef OPENTRACING_SYMBOLS_H +#define OPENTRACING_SYMBOLS_H + +#include + +#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 -- cgit v1.2.3