]> granicus.if.org Git - curl/commitdiff
- Provide in external interface preprocessor symbol definitions for
authorYang Tse <yangsita@gmail.com>
Fri, 20 Nov 2009 13:01:35 +0000 (13:01 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 20 Nov 2009 13:01:35 +0000 (13:01 +0000)
  CARES_HAVE_ARES_FREE_DATA as an indication of function availability.

ares/ares_version.h

index 66d4bcc78dba544db0fb05548f210e70cdd98e1b..517e8a9a75aea229fcb612c4b64530fbbefdaa68 100644 (file)
 #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