summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-14 16:22:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:49:12 +0100
commit89e751021da874db046453fe96a192984640e637 (patch)
treeed534ec6f743b20af1d562da7c3d43e9a1efae13 /compat
parent42e6b27e1afda7fcd8beddd9676ba7edb6363a34 (diff)
compat/linkage-macros: fix bogus import visibility
Diffstat (limited to 'compat')
-rw-r--r--compat/linkage-macros.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/linkage-macros.hpp b/compat/linkage-macros.hpp
index bc9aa7d2..3a64648a 100644
--- a/compat/linkage-macros.hpp
+++ b/compat/linkage-macros.hpp
@@ -5,10 +5,10 @@
# define OTR_GENERIC_IMPORT __declspec(dllimport)
#elif defined _WIN32 && !defined __WINE__
# define OTR_GENERIC_EXPORT __attribute__((dllexport, visibility ("default")))
-# define OTR_GENERIC_IMPORT __attribute__((dllimport, visibility ("default")))
+# define OTR_GENERIC_IMPORT __attribute__((dllimport))
#else
# define OTR_GENERIC_EXPORT __attribute__((visibility ("default")))
-# define OTR_GENERIC_IMPORT __attribute__((visibility ("default")))
+# define OTR_GENERIC_IMPORT
#endif
#if defined __APPLE__ || (defined __MINGW32__ && (defined __clang__ || defined _WIN64))