summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormike <mike>2006-06-19 19:37:25 +0000
committermike <mike>2006-06-19 19:37:25 +0000
commiteb9bab66f713bd7c3c0dabd8dcacf61a1716540b (patch)
treefed6bd195712e1d311848955455c8dd88da2b197 /test
parent94d40bf084fc889d98e389b6ecc9c0b30ab4b086 (diff)
downloadtog-pegasus-eb9bab66f713bd7c3c0dabd8dcacf61a1716540b.zip
tog-pegasus-eb9bab66f713bd7c3c0dabd8dcacf61a1716540b.tar.gz
tog-pegasus-eb9bab66f713bd7c3c0dabd8dcacf61a1716540b.tar.xz
BUG#: 5126
TITLE: Hidden default visibility for shared-library symbols (GCC 4.0 only) DESCRIPTION: This patch introduces symbol exportation for GCC (similar to that used in Windows that requires the PEGASUS_???_LINKAGE macro).
Diffstat (limited to 'test')
-rw-r--r--test/StressTestClients/Linkage.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/test/StressTestClients/Linkage.h b/test/StressTestClients/Linkage.h
index 6aa4bd5..f17c1cf 100644
--- a/test/StressTestClients/Linkage.h
+++ b/test/StressTestClients/Linkage.h
@@ -34,13 +34,9 @@
#include <Pegasus/Common/Config.h>
#ifndef PEGASUS_STRESSTESTCLIENT_LINKAGE
-# ifdef PEGASUS_OS_TYPE_WINDOWS
-# ifdef PEGASUS_STRESSTESTCLIENT_INTERNAL
-# define PEGASUS_STRESSTESTCLIENT_LINKAGE PEGASUS_EXPORT
-# else
-# define PEGASUS_STRESSTESTCLIENT_LINKAGE PEGASUS_IMPORT
-# endif
-# else
-# define PEGASUS_STRESSTESTCLIENT_LINKAGE
-# endif
+# ifdef PEGASUS_STRESSTESTCLIENT_INTERNAL
+# define PEGASUS_STRESSTESTCLIENT_LINKAGE PEGASUS_EXPORT
+# else
+# define PEGASUS_STRESSTESTCLIENT_LINKAGE PEGASUS_IMPORT
+# endif
#endif