Skip to content

Commit 288776e

Browse files
authored
Drop duplicate macro definitions (GH-16848)
Apparently, these have been overlooked when the macro definitions have been moved from dns.c to php_dns.h[1]. [1] <6f2f228>
1 parent 5683e8b commit 288776e

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

ext/standard/dns_win32.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,6 @@
2323

2424
#include "php_dns.h"
2525

26-
#define PHP_DNS_NUM_TYPES 12 /* Number of DNS Types Supported by PHP currently */
27-
28-
#define PHP_DNS_A 0x00000001
29-
#define PHP_DNS_NS 0x00000002
30-
#define PHP_DNS_CNAME 0x00000010
31-
#define PHP_DNS_SOA 0x00000020
32-
#define PHP_DNS_PTR 0x00000800
33-
#define PHP_DNS_HINFO 0x00001000
34-
#define PHP_DNS_MX 0x00004000
35-
#define PHP_DNS_TXT 0x00008000
36-
#define PHP_DNS_A6 0x01000000
37-
#define PHP_DNS_SRV 0x02000000
38-
#define PHP_DNS_NAPTR 0x04000000
39-
#define PHP_DNS_AAAA 0x08000000
40-
#define PHP_DNS_ANY 0x10000000
41-
#define PHP_DNS_ALL (PHP_DNS_A|PHP_DNS_NS|PHP_DNS_CNAME|PHP_DNS_SOA|PHP_DNS_PTR|PHP_DNS_HINFO|PHP_DNS_MX|PHP_DNS_TXT|PHP_DNS_A6|PHP_DNS_SRV|PHP_DNS_NAPTR|PHP_DNS_AAAA)
42-
4326
PHP_FUNCTION(dns_get_mx) /* {{{ */
4427
{
4528
char *hostname;

0 commit comments

Comments
 (0)