From: Michael Wallner Date: Fri, 1 Aug 2014 19:35:23 +0000 (+0200) Subject: missing flag X-Git-Tag: RELEASE_0_8_0~9 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=9ab60102d7ae890c3c0aa232cee7212a643dc693;p=m6w6%2Fext-ares missing flag --- diff --git a/php_ares.c b/php_ares.c index 680c4d9..f7e26f7 100644 --- a/php_ares.c +++ b/php_ares.c @@ -1829,6 +1829,9 @@ static PHP_MINIT_FUNCTION(ares) REGISTER_LONG_CONSTANT("ARES_FLAG_NOSEARCH", ARES_FLAG_NOSEARCH, CONST_PERSISTENT|CONST_CS); REGISTER_LONG_CONSTANT("ARES_FLAG_NOALIASES", ARES_FLAG_NOALIASES, CONST_PERSISTENT|CONST_CS); REGISTER_LONG_CONSTANT("ARES_FLAG_NOCHECKRESP", ARES_FLAG_NOCHECKRESP, CONST_PERSISTENT|CONST_CS); +#ifdef ARES_FLAG_EDNS + REGISTER_LONG_CONSTANT("ARES_FLAG_EDNS", ARES_FLAG_EDNS, CONST_PERSISTENT|CONST_CS); +#endif /* * Address Family Constants