#75 Add win32 defines for TXT and SRV

This commit is contained in:
Erik Ekman 2009-09-20 15:11:07 +00:00
parent b9d4b37c87
commit 3b47b8ad92
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,14 @@ typedef unsigned int in_addr_t;
#include <ws2tcpip.h>
#include <iphlpapi.h>
/* Missing from the mingw headers */
#ifndef DNS_TYPE_SRV
# define DNS_TYPE_SRV 33
#endif
#ifndef DNS_TYPE_TXT
# define DNS_TYPE_TXT 16
#endif
#define T_A DNS_TYPE_A
#define T_NS DNS_TYPE_NS
#define T_NULL DNS_TYPE_NULL