summaryrefslogtreecommitdiffhomepage
path: root/compat/linkage-macros.hpp
diff options
context:
space:
mode:
authorattila-csipa <attila.csipa@hp.com>2017-07-07 13:16:16 +0100
committerattila-csipa <attila.csipa@hp.com>2017-07-07 13:16:16 +0100
commit5ded46a80ec82137869ebd234189b1fd9ffff680 (patch)
treefeac22663567716e51133734d7592da64adfd239 /compat/linkage-macros.hpp
parent816c857c513e42a0b2583c2ab7bd89610f968f93 (diff)
parentf013741288cbbd9a2e70aea727cbb80cf72d10cc (diff)
Merge remote-tracking branch 'upstream/unstable' into unstable
Diffstat (limited to 'compat/linkage-macros.hpp')
-rw-r--r--compat/linkage-macros.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/linkage-macros.hpp b/compat/linkage-macros.hpp
index 460e7ee5..a4c4b351 100644
--- a/compat/linkage-macros.hpp
+++ b/compat/linkage-macros.hpp
@@ -7,3 +7,6 @@
# 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