1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00

- [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build

This commit is contained in:
Pierre Joye
2009-08-08 13:01:13 +00:00
parent 2ee8b65e4e
commit 4668ca80b5
+2
View File
@@ -269,6 +269,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s
case DNS_TYPE_NAPTR:
{
#if _MSC_VER >= 1500
DNS_NAPTR_DATA * data_naptr = &pRec->Data.Naptr;
add_assoc_string(*subarray, "type", "NAPTR", 1);
@@ -278,6 +279,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;