mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
084447e414
CARES_HAVE_ARES_LIBRARY_INIT and CARES_HAVE_ARES_LIBRARY_CLEANUP to ease the use of new capabilities. - Move ares_version() prototype to ares.h
23 lines
545 B
C
23 lines
545 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_LIBRARY_INIT 1
|
|
# define CARES_HAVE_ARES_LIBRARY_CLEANUP 1
|
|
#else
|
|
# undef CARES_HAVE_ARES_LIBRARY_INIT
|
|
# undef CARES_HAVE_ARES_LIBRARY_CLEANUP
|
|
#endif
|
|
|
|
#endif
|