mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +00:00
Fix compile for win32
This commit is contained in:
parent
27e16d6ac0
commit
6ce502ffa4
@ -39,6 +39,7 @@ typedef unsigned int in_addr_t;
|
|||||||
#define T_CNAME DNS_TYPE_CNAME
|
#define T_CNAME DNS_TYPE_CNAME
|
||||||
#define T_MX DNS_TYPE_MX
|
#define T_MX DNS_TYPE_MX
|
||||||
#define T_TXT DNS_TYPE_TXT
|
#define T_TXT DNS_TYPE_TXT
|
||||||
|
#define T_SRV DNS_TYPE_SRV
|
||||||
|
|
||||||
#define C_IN 1
|
#define C_IN 1
|
||||||
|
|
||||||
@ -48,6 +49,8 @@ typedef unsigned int in_addr_t;
|
|||||||
#define NOTIMP 4
|
#define NOTIMP 4
|
||||||
#define REFUSED 5
|
#define REFUSED 5
|
||||||
|
|
||||||
|
#define sleep(seconds) Sleep((seconds)*1000)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned id :16; /* query identification number */
|
unsigned id :16; /* query identification number */
|
||||||
/* fields in third byte */
|
/* fields in third byte */
|
||||||
|
Loading…
Reference in New Issue
Block a user