diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-07-31 14:19:44 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-07-31 14:19:44 -0400 |
commit | aaf870733a6ba4e0ff2ef93226897983950da046 (patch) | |
tree | 3ccd176b149b01a9afa4839b582b3eccee198881 /indra/llcommon/llpreprocessor.h | |
parent | 084983485f9e05ff9164fabe3244ffd6f33295cf (diff) | |
parent | 29607ab70edea79cfdceaa52d632d77e6699cb8f (diff) |
Update with palmer's round 1 changes
Diffstat (limited to 'indra/llcommon/llpreprocessor.h')
-rw-r--r-- | indra/llcommon/llpreprocessor.h | 4 |
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
|