From 89e751021da874db046453fe96a192984640e637 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 14 Jan 2019 16:22:23 +0100 Subject: compat/linkage-macros: fix bogus import visibility --- compat/linkage-macros.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat/linkage-macros.hpp') 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)) -- cgit v1.2.3