diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-20 13:01:35 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-20 13:01:35 +0000 |
commit | dbd45c1539fc972cfc8594e5e52c278fd89ccf7e (patch) | |
tree | fabc313db31d85a6f556e326390accf51d163f5a /ares_version.h | |
parent | f2cdd32a4feb42616c3cc5207b71b50f5da8a86b (diff) | |
download | c-ares-dbd45c1539fc972cfc8594e5e52c278fd89ccf7e.tar.gz c-ares-dbd45c1539fc972cfc8594e5e52c278fd89ccf7e.tar.bz2 c-ares-dbd45c1539fc972cfc8594e5e52c278fd89ccf7e.zip |
- Provide in external interface preprocessor symbol definitions for
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
Diffstat (limited to 'ares_version.h')
-rw-r--r-- | ares_version.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares_version.h b/ares_version.h index 66d4bcc..517e8a9 100644 --- a/ares_version.h +++ b/ares_version.h @@ -12,9 +12,11 @@ #define ARES_VERSION_STR "1.6.1-CVS" #if (ARES_VERSION >= 0x010601) +# define CARES_HAVE_ARES_FREE_DATA 1 # define CARES_HAVE_ARES_LIBRARY_INIT 1 # define CARES_HAVE_ARES_LIBRARY_CLEANUP 1 #else +# undef CARES_HAVE_ARES_FREE_DATA # undef CARES_HAVE_ARES_LIBRARY_INIT # undef CARES_HAVE_ARES_LIBRARY_CLEANUP #endif |