Client Linux qui re-marche
This commit is contained in:
		| @@ -46,6 +46,8 @@ typedef uint64_t Timestamp; | ||||
| #include <cstdio> | ||||
| #include <ctime> | ||||
|  | ||||
| #define ioctl ioctlsocket | ||||
| #define O_NONBLOCK FIONBIO | ||||
| #define strcpy strcpy_s | ||||
| #define addrlen_t int | ||||
| #define popen _popen | ||||
| @@ -57,10 +59,12 @@ typedef uint64_t Timestamp; | ||||
| #include <time.h> | ||||
| #include <stdio.h> | ||||
| #include <sys/socket.h> | ||||
| #include <sys/ioctl.h> | ||||
| #include <arpa/inet.h> | ||||
| #include <netinet/in.h> | ||||
| #include <cstring> | ||||
|  | ||||
|  | ||||
| #define addrlen_t unsigned int | ||||
| #define SOCKET int | ||||
| #define INVALID_SOCKET -1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user