diff --git a/general/src/net/TcpClient.h b/general/src/net/TcpClient.h index 7e71946..3a0ecae 100644 --- a/general/src/net/TcpClient.h +++ b/general/src/net/TcpClient.h @@ -1,7 +1,7 @@ // // Created by 29019 on 2020/4/18. // - +#define _WIN32_WINNT 0x0500 #ifndef GENERAL_TCPCLIENT_H #define GENERAL_TCPCLIENT_H extern "C"{ diff --git a/general/third/include/event2/event-config.h b/general/third/include/event2/event-config.h index 99d74ed..5c45b22 100644 --- a/general/third/include/event2/event-config.h +++ b/general/third/include/event2/event-config.h @@ -343,7 +343,7 @@ /* #undef EVENT__HAVE_SYS_TIMERFD_H */ /* Define to 1 if you have the header file. */ -#define EVENT__HAVE_SYS_TIME_H 1 +//#define EVENT__HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define EVENT__HAVE_SYS_TYPES_H 1 @@ -541,5 +541,5 @@ /* Define to `int' if does not define. */ /* #undef EVENT__ssize_t */ - +#define EVENT__ssize_t int #endif /* event2/event-config.h */