- Provide in external interface preprocessor symbol definitions for

CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
This commit is contained in:
Yang Tse 2009-11-20 13:01:35 +00:00
parent 99363a0ee1
commit 4c0ffd33f5

View File

@ -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