summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-31 04:16:40 +0000
committerYang Tse <yangsita@gmail.com>2009-10-31 04:16:40 +0000
commitf77839ed17257d973b2a9bf063ceed401f8489d9 (patch)
tree38556373c2e0ce11872d597b371a05ad082af1d0 /ares.h
parent54a7da89c8036092cdce6f235c8e3c2fc56268ec (diff)
downloadc-ares-f77839ed17257d973b2a9bf063ceed401f8489d9.tar.gz
c-ares-f77839ed17257d973b2a9bf063ceed401f8489d9.tar.bz2
c-ares-f77839ed17257d973b2a9bf063ceed401f8489d9.zip
Symbol hiding configure options renamed to the hopefully less ambiguous
--enable-symbol-hiding and --disable-symbol-hiding as well as related macro names and some internal variables used for them. Related configuration file preprocessor symbols named to CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares.h b/ares.h
index 593a145..63eb681 100644
--- a/ares.h
+++ b/ares.h
@@ -79,11 +79,11 @@ extern "C" {
# endif
#else
/* visibility function decoration for other cases */
-# if !defined(CARES_HIDDEN_SYMBOLS) || \
+# if !defined(CARES_SYMBOL_HIDING) || \
defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__)
# define CARES_EXTERN
# else
-# define CARES_EXTERN CARES_EXTERN_SYMBOL
+# define CARES_EXTERN CARES_SYMBOL_SCOPE_EXTERN
# endif
#endif