mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +00:00
Add win32 defines for TXT and SRV #75
This commit is contained in:
parent
05a23a544d
commit
1fcab767cd
@ -25,6 +25,14 @@ typedef unsigned int in_addr_t;
|
|||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <iphlpapi.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_A DNS_TYPE_A
|
||||||
#define T_NS DNS_TYPE_NS
|
#define T_NS DNS_TYPE_NS
|
||||||
#define T_NULL DNS_TYPE_NULL
|
#define T_NULL DNS_TYPE_NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user