aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_version.h')
-rw-r--r--ares/ares_version.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/ares/ares_version.h b/ares/ares_version.h
index 281084534..66d4bcc78 100644
--- a/ares/ares_version.h
+++ b/ares/ares_version.h
@@ -11,15 +11,12 @@
(ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.6.1-CVS"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-const char *ares_version(int *version);
-
-#ifdef __cplusplus
-}
+#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
-