blob: a4c4b351030515d3be7cce699eca85a8402db06f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#if defined _MSC_VER || defined _WIN32
# define OTR_GENERIC_EXPORT __declspec(dllexport)
# define OTR_GENERIC_IMPORT __declspec(dllimport)
#else
# define OTR_GENERIC_EXPORT __attribute__ ((visibility ("default")))
# define OTR_GENERIC_IMPORT
#endif
#define OTR_TEMPLATE_EXPORT template class OTR_GENERIC_EXPORT
#define OTR_TEMPLATE_IMPORT extern template class OTR_GENERIC_IMPORT
|