Gestion pour que ça marche partout
This commit is contained in:
		| @@ -46,10 +46,11 @@ typedef uint64_t Timestamp; | ||||
| #include <cstdio> | ||||
| #include <ctime> | ||||
|  | ||||
| #define flag_t u_long | ||||
| #define addrlen_t int | ||||
| #define ioctl ioctlsocket | ||||
| #define SOCK_NONBLOCK FIONBIO | ||||
| #define strcpy strcpy_s | ||||
| #define addrlen_t int | ||||
| #define popen _popen | ||||
| #define pclose _pclose | ||||
|  | ||||
| @@ -64,7 +65,7 @@ typedef uint64_t Timestamp; | ||||
| #include <netinet/in.h> | ||||
| #include <cstring> | ||||
|  | ||||
|  | ||||
| #define flag_t unsigned int | ||||
| #define addrlen_t unsigned int | ||||
| #define SOCKET int | ||||
| #define INVALID_SOCKET -1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user