From 4c0ffd33f5e2348956007bec665b0ccae7b7fb86 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 20 Nov 2009 13:01:35 +0000 Subject: - Provide in external interface preprocessor symbol definitions for CARES_HAVE_ARES_FREE_DATA as an indication of function availability. --- ares/ares_version.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ares/ares_version.h') 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 -- cgit v1.2.3