aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commitce6731baf186807eb8012afeb26c8a304ab8e3ad (patch)
treec64c07507f2395d1190f09d641ce41332b2468df /ares/ares.h
parent2c0b65d37b62e4a089d1816197126f5a3f36a09a (diff)
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/ares.h')
-rw-r--r--ares/ares.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 593a14563..63eb6810e 100644
--- a/ares/ares.h
+++ b/ares/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