Commit 4c0ffd33 authored by Yang Tse's avatar Yang Tse
Browse files

- Provide in external interface preprocessor symbol definitions for

  CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
parent 99363a0e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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