summaryrefslogtreecommitdiffstats
path: root/src/c-ares/ares_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c-ares/ares_version.h')
-rw-r--r--src/c-ares/ares_version.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/c-ares/ares_version.h b/src/c-ares/ares_version.h
new file mode 100644
index 000000000..ed623d18c
--- /dev/null
+++ b/src/c-ares/ares_version.h
@@ -0,0 +1,24 @@
+
+#ifndef ARES__VERSION_H
+#define ARES__VERSION_H
+
+/* This is the global package copyright */
+#define ARES_COPYRIGHT "2004 - 2016 Daniel Stenberg, <daniel@haxx.se>."
+
+#define ARES_VERSION_MAJOR 1
+#define ARES_VERSION_MINOR 12
+#define ARES_VERSION_PATCH 1
+#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
+ (ARES_VERSION_MINOR<<8)|\
+ (ARES_VERSION_PATCH))
+#define ARES_VERSION_STR "1.12.1-DEV"
+
+#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