summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-24 18:57:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:32:10 +0100
commitd6e7fd75bf6005c8f029ee3821d55fea13affc35 (patch)
tree11af6fa8af478915b997c2e975940aad06a99c19
parent48c2e20e9b992d75ba4ed69b24740818f9b0b1ad (diff)
compat/linkage-macros: fix clang template instantiation
-rw-r--r--compat/linkage-macros.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/linkage-macros.hpp b/compat/linkage-macros.hpp
index dff9a34c..bc9aa7d2 100644
--- a/compat/linkage-macros.hpp
+++ b/compat/linkage-macros.hpp
@@ -11,7 +11,7 @@
# define OTR_GENERIC_IMPORT __attribute__((visibility ("default")))
#endif
-#if defined __APPLE__ || (defined __MINGW32__ && defined _WIN64)
+#if defined __APPLE__ || (defined __MINGW32__ && (defined __clang__ || defined _WIN64))
# define OTR_NO_TMPL_INST // link failure on both targets
#endif