- Provide in external interface preprocessor symbol definitions for
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
This commit is contained in:
@@ -12,9 +12,11 @@
|
|||||||
#define ARES_VERSION_STR "1.6.1-CVS"
|
#define ARES_VERSION_STR "1.6.1-CVS"
|
||||||
|
|
||||||
#if (ARES_VERSION >= 0x010601)
|
#if (ARES_VERSION >= 0x010601)
|
||||||
|
# define CARES_HAVE_ARES_FREE_DATA 1
|
||||||
# define CARES_HAVE_ARES_LIBRARY_INIT 1
|
# define CARES_HAVE_ARES_LIBRARY_INIT 1
|
||||||
# define CARES_HAVE_ARES_LIBRARY_CLEANUP 1
|
# define CARES_HAVE_ARES_LIBRARY_CLEANUP 1
|
||||||
#else
|
#else
|
||||||
|
# undef CARES_HAVE_ARES_FREE_DATA
|
||||||
# undef CARES_HAVE_ARES_LIBRARY_INIT
|
# undef CARES_HAVE_ARES_LIBRARY_INIT
|
||||||
# undef CARES_HAVE_ARES_LIBRARY_CLEANUP
|
# undef CARES_HAVE_ARES_LIBRARY_CLEANUP
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user