diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2006-07-11 21:35:35 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2006-07-11 21:35:35 +0000 |
commit | 10489879f731465f3d2105870e7533c2b355af5d (patch) | |
tree | 2a2050a14281dc1f3c96b70f5d4c9a0f596ad3f4 /include | |
parent | fe22872d14c3b6b63ac27a9017ed9695ac3b932b (diff) |
Enable --enable-hidden-symbols for SunPro C
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 1a118a36c..b9b341dee 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -61,11 +61,12 @@ extern "C" { #ifdef CURL_HIDDEN_SYMBOLS /* - * On gcc >= 4 if -fvisibility=hidden is given then this is used to cause - * external definitions to be put into the shared library. It makes no - * difference to applications whether this is set or not, only the library. + * This definition is used to make external definitions visibile in the + * shared library when symbols are hidden by default. It makes no + * difference when compiling applications whether this is set or not, + * only when compiling the library. */ -#define CURL_EXTERN __attribute__ ((visibility ("default"))) +#define CURL_EXTERN CURL_EXTERN_SYMBOL #else #define CURL_EXTERN #endif |