summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-10 15:35:00 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-03-10 16:39:22 +0100
commita680eba9a03f368b2e01e283519eaef9ffce9028 (patch)
treeb8d98aa62745cf929f626ae8d4e842cf8d931a77
parent41d7a444bee3ba8ed7c8d5fbbc57fd29c86ddb19 (diff)
SAL_DLLPUBLIC_IMPORT with gcc should not be empty
Otherwise when using a template from another module, an instance of it may end up being non-exported even though it's used by something exported.
-rw-r--r--sal/inc/sal/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h
index e8b566279b56..2894fffc6495 100644
--- a/sal/inc/sal/types.h
+++ b/sal/inc/sal/types.h
@@ -273,7 +273,7 @@ typedef void * sal_Handle;
# define SAL_DLLPRIVATE __hidden
# elif defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
# define SAL_DLLPUBLIC_EXPORT __attribute__ ((visibility("default")))
-# define SAL_DLLPUBLIC_IMPORT
+# define SAL_DLLPUBLIC_IMPORT __attribute__ ((visibility("default")))
# define SAL_DLLPRIVATE __attribute__ ((visibility("hidden")))
# else
# define SAL_DLLPUBLIC_EXPORT