From: Pierre Joye Date: Tue, 6 Jan 2009 23:50:30 +0000 (+0000) Subject: - [DOC] MFB: VC6 does not have NAPTR X-Git-Tag: php-5.4.0alpha1~191^2~4619 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc11374533c4a1f73a7ac2cf053dc788dd6ed2d6;p=php - [DOC] MFB: VC6 does not have NAPTR --- diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index b95357c0c1..0d81dfdf24 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -260,6 +260,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s case DNS_TYPE_NAPTR: { +#ifdef DNS_NAPTR_DATA DNS_NAPTR_DATA * data_naptr = &pRec->Data.Naptr; add_assoc_string(*subarray, "type", "NAPTR", 1); add_assoc_long(*subarray, "order", data_naptr->wOrder); @@ -268,6 +269,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s add_assoc_string(*subarray, "services", data_naptr->pService, 1); add_assoc_string(*subarray, "regex", data_naptr->pRegularExpression, 1); add_assoc_string(*subarray, "replacement", data_naptr->pReplacement, 1); +#endif } break;