diff options
-rw-r--r-- | compat/linkage-macros.hpp | 2 |
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 |