4c0ffd33f5
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
25 lines
618 B
C
25 lines
618 B
C
/* $Id$ */
|
|
|
|
#ifndef ARES__VERSION_H
|
|
#define ARES__VERSION_H
|
|
|
|
#define ARES_VERSION_MAJOR 1
|
|
#define ARES_VERSION_MINOR 6
|
|
#define ARES_VERSION_PATCH 1
|
|
#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
|
|
(ARES_VERSION_MINOR<<8)|\
|
|
(ARES_VERSION_PATCH))
|
|
#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
|
|
|
|
#endif
|