aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_version.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-20 13:01:35 +0000
committerYang Tse <yangsita@gmail.com>2009-11-20 13:01:35 +0000
commit4c0ffd33f5e2348956007bec665b0ccae7b7fb86 (patch)
tree305708edbc6d38238b2f429fc2f9748b4c080292 /ares/ares_version.h
parent99363a0ee164c37d68da56cc07d654be10711d61 (diff)
- Provide in external interface preprocessor symbol definitions for
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
Diffstat (limited to 'ares/ares_version.h')
-rw-r--r--ares/ares_version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/ares_version.h b/ares/ares_version.h
index 66d4bcc78..517e8a9a7 100644
--- a/ares/ares_version.h
+++ b/ares/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