From c90d1ec2c98a7062d5a3afdf71df873e829f72c4 Mon Sep 17 00:00:00 2001
From: Constantin Papizh <p.const@bk.ru>
Date: Thu, 28 Nov 2019 22:21:14 +0300
Subject: [PATCH] wepoll issues

---
 CMakeLists.txt       | 1 -
 dap_stream_ch.c      | 3 ---
 dap_stream_ch_pkt.c  | 3 ---
 dap_stream_ch_proc.c | 3 ---
 4 files changed, 10 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 217a633..5d2f731 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,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_stream_ch.c b/dap_stream_ch.c
index fe7d1b6..8573eaa 100755
--- a/dap_stream_ch.c
+++ b/dap_stream_ch.c
@@ -26,14 +26,11 @@
 #include <stdint.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 <pthread.h>
diff --git a/dap_stream_ch_pkt.c b/dap_stream_ch_pkt.c
index e218ae5..e97c6a7 100755
--- a/dap_stream_ch_pkt.c
+++ b/dap_stream_ch_pkt.c
@@ -28,14 +28,11 @@
 #include <stdint.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 <pthread.h>
diff --git a/dap_stream_ch_proc.c b/dap_stream_ch_proc.c
index bed6be2..457517a 100755
--- a/dap_stream_ch_proc.c
+++ b/dap_stream_ch_proc.c
@@ -27,14 +27,11 @@
 #include <stdint.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 <pthread.h>
-- 
GitLab