aboutsummaryrefslogtreecommitdiffstats
path: root/ws_symbol_export.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-03-02 22:11:26 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-03-02 22:11:26 +0000
commit73aafe2bc4db3f0d0d98107d2b2e861f1dcbc543 (patch)
tree42b11dbce47d723876cbadf46e045f52ce70991a /ws_symbol_export.h
parent5c05c9e0e1fef7699646bd50cfab66b4ff451874 (diff)
Make Solaris Studio hide internal shared library symbols by default
svn path=/trunk/; revision=48020
Diffstat (limited to 'ws_symbol_export.h')
-rw-r--r--ws_symbol_export.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ws_symbol_export.h b/ws_symbol_export.h
index ac9b973053..d85efba188 100644
--- a/ws_symbol_export.h
+++ b/ws_symbol_export.h
@@ -24,7 +24,7 @@
#define SYMBOL_EXPORT_H
/* Originally copied from GCC Wiki at http://gcc.gnu.org/wiki/Visibility */
-#if defined _WIN32 || defined __CYGWIN__
+#if defined _WIN32 || defined __CYGWIN__ || defined __SUNPRO_C || defined__SUNPRO_CC
#ifdef WS_BUILD_DLL
#ifdef __GNUC__
#define WS_DLL_PUBLIC __attribute__ ((dllexport))