pajoye          Tue Jan  6 23:50:30 2009 UTC

  Modified files:              
    /php-src/ext/standard       dns_win32.c 
  Log:
  - [DOC] MFB: VC6 does not have NAPTR
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns_win32.c?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/dns_win32.c
diff -u php-src/ext/standard/dns_win32.c:1.1 
php-src/ext/standard/dns_win32.c:1.2
--- php-src/ext/standard/dns_win32.c:1.1        Tue Jan  6 20:44:56 2009
+++ php-src/ext/standard/dns_win32.c    Tue Jan  6 23:50:30 2009
@@ -260,6 +260,7 @@
 
                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 @@
                                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;
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to