mirror of
https://github.com/yarrick/iodine.git
synced 2025-01-11 18:43:46 +00:00
Use winsock2.2
This commit is contained in:
parent
0b280bec2b
commit
4ae304a9b7
@ -53,7 +53,7 @@
|
|||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#ifdef WINDOWS32
|
#ifdef WINDOWS32
|
||||||
WORD req_version = MAKEWORD(1, 1);
|
WORD req_version = MAKEWORD(2, 2);
|
||||||
WSADATA wsa_data;
|
WSADATA wsa_data;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#ifdef WINDOWS32
|
#ifdef WINDOWS32
|
||||||
WORD req_version = MAKEWORD(1, 1);
|
WORD req_version = MAKEWORD(2, 2);
|
||||||
WSADATA wsa_data;
|
WSADATA wsa_data;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ typedef unsigned int in_addr_t;
|
|||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <windns.h>
|
#include <windns.h>
|
||||||
#include <winsock.h>
|
#include <winsock2.h>
|
||||||
|
|
||||||
#define T_A DNS_TYPE_A
|
#define T_A DNS_TYPE_A
|
||||||
#define T_NS DNS_TYPE_NS
|
#define T_NS DNS_TYPE_NS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user