aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/build
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-06-02 15:36:25 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2017-06-02 15:36:25 -0700
commitf8b6d6f9a3530aca24cf61c448b0c134611d6442 (patch)
tree635e95a0c3d8993d2f30431b20a0f722af96889e /test/build
parent01b536c3e74609273ec4042ddb158be32c3fc6c7 (diff)
Check the version of system c-ares
Diffstat (limited to 'test/build')
-rw-r--r--test/build/c-ares.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/build/c-ares.c b/test/build/c-ares.c
index c954e9397f..d86bbf5af6 100644
--- a/test/build/c-ares.c
+++ b/test/build/c-ares.c
@@ -33,6 +33,10 @@
#include <ares.h>
+#if (ARES_VERSION < 0x010b00)
+ ARES_VERSION should not be smaller than 1.11.0
+#endif
+
int main(void) {
ares_channel channelptr;