summaryrefslogtreecommitdiff
path: root/indra/llcommon/llpreprocessor.h
diff options
context:
space:
mode:
authorpalmer@eniac54.lindenlab.com <palmer@eniac54.lindenlab.com>2009-07-30 18:52:34 -0700
committerpalmer@eniac54.lindenlab.com <palmer@eniac54.lindenlab.com>2009-07-30 18:52:34 -0700
commit1af41b3ba733938541d7cc92ae56dd883638e32f (patch)
tree34e20eebc9c5e28a58dfc7b45823f8156e1f2edf /indra/llcommon/llpreprocessor.h
parent1e1a38d5745a680c712be9bcc088a75f6eafa7da (diff)
Fixes to build on linux for DEV-35401.
Moves libllcommon.so to a staging dir for unit tests to work and gets rid of LL_COMMON_API in forward declarations
Diffstat (limited to 'indra/llcommon/llpreprocessor.h')
-rw-r--r--indra/llcommon/llpreprocessor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h
index ed6ca9a25f..671e85b16f 100644
--- a/indra/llcommon/llpreprocessor.h
+++ b/indra/llcommon/llpreprocessor.h
@@ -138,12 +138,14 @@
#if LL_WINDOWS
#define LL_DLLEXPORT __declspec(dllexport)
#define LL_DLLIMPORT __declspec(dllimport)
+#elif LL_LINUX
+#define LL_DLLEXPORT __attribute__ ((visibility("default")))
+#define LL_DLLIMPORT
#else
#define LL_DLLEXPORT
#define LL_DLLIMPORT
#endif // LL_WINDOWS
-
#if LL_COMMON_LINK_SHARED
# if LL_COMMON_BUILD
# define LL_COMMON_API LL_DLLEXPORT