- Provide in external interface preprocessor symbol definitions for

CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
pull/1/head
Yang Tse 15 years ago
parent f2cdd32a4f
commit dbd45c1539
  1. 2
      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

Loading…
Cancel
Save