diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f689ded5668970b03b39fdce756a5027044298f..ef1bccda3d2820d9a2e15b495f51a613ba40526e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,6 @@ if(WIN32) include_directories(../libdap/src/win32/) include_directories(../3rdparty/libmemcached/) include_directories(../3rdparty/libmemcached/win32/) - include_directories(../3rdparty/wepoll/include/) include_directories(../3rdparty/uthash/src/) include_directories(../3rdparty/libjson-c/) include_directories(../3rdparty/curl/include/) diff --git a/dap_chain_net.c b/dap_chain_net.c index 54b24eb00d3565703f6be75ea435ae2ae96e32ef..0863ab60468d4ef97a4c9b128e499afcbd806bf8 100644 --- a/dap_chain_net.c +++ b/dap_chain_net.c @@ -38,14 +38,11 @@ #endif #ifdef WIN32 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #endif #include <pthread.h> diff --git a/dap_chain_node.c b/dap_chain_node.c index 1fb9ae970c2cd5b2eda0b3bc9e9e4cfe6385f54c..790b627340eec20b503ee059c6491ea1e4aeb0a1 100644 --- a/dap_chain_node.c +++ b/dap_chain_node.c @@ -28,14 +28,11 @@ #include <string.h> #ifdef WIN32 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #include <pthread.h> #else #include <sys/socket.h> diff --git a/dap_chain_node_cli.c b/dap_chain_node_cli.c index fb50694a15f3f002d9580cb2ff5fcb38bcb976ff..063e73a093449449582e566aa7358cc1a840d99c 100644 --- a/dap_chain_node_cli.c +++ b/dap_chain_node_cli.c @@ -46,14 +46,11 @@ typedef int SOCKET; #define INVALID_SOCKET -1 // for win32 = (SOCKET)(~0) // for Windows #else -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #endif #include <pthread.h> diff --git a/dap_chain_node_cli_cmd.c b/dap_chain_node_cli_cmd.c index 8ae4d435ec1287844df1348ff3611867331300a7..59df5b3a73ee2d8fee860f93940bc4b5bd1bdff9 100644 --- a/dap_chain_node_cli_cmd.c +++ b/dap_chain_node_cli_cmd.c @@ -37,14 +37,11 @@ #include <dirent.h> #ifdef WIN32 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #include <pthread.h> #else #include <sys/types.h> diff --git a/dap_chain_node_client.c b/dap_chain_node_client.c index 0ece420862ece432ad250fe4330e35a779efa46e..53b815308df211f71ead06d539eaa028b157001f 100644 --- a/dap_chain_node_client.c +++ b/dap_chain_node_client.c @@ -31,14 +31,11 @@ #include <string.h> #ifdef WIN32 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #include <pthread.h> #endif diff --git a/dap_chain_node_remote.c b/dap_chain_node_remote.c index 515d1123b8f99cb0effe8f4c77fb3fad138a2a1c..cabf4dd34e4b5e07bcf67b93169b5a38f6a54636 100644 --- a/dap_chain_node_remote.c +++ b/dap_chain_node_remote.c @@ -28,14 +28,11 @@ #include <pthread.h> #ifdef WIN32 -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0600 #include <winsock2.h> #include <windows.h> #include <mswsock.h> #include <ws2tcpip.h> #include <io.h> -#include <wepoll.h> #endif #include "uthash.h"