node/deps/c-ares/ares_version.h

25 lines
646 B
C
Raw Normal View History

2010-04-06 18:41:32 +08:00
#ifndef ARES__VERSION_H
#define ARES__VERSION_H
2011-01-12 10:19:22 +08:00
/* This is the global package copyright */
#define ARES_COPYRIGHT "2004 - 2010 Daniel Stenberg, <daniel@haxx.se>."
2010-04-06 18:41:32 +08:00
#define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 7
2011-01-12 10:19:22 +08:00
#define ARES_VERSION_PATCH 4
2010-04-06 18:41:32 +08:00
#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
(ARES_VERSION_MINOR<<8)|\
(ARES_VERSION_PATCH))
2011-01-12 10:19:22 +08:00
#define ARES_VERSION_STR "1.7.4"
2010-04-06 18:41:32 +08:00
#if (ARES_VERSION >= 0x010700)
# 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