From 1a56265f69db4465e8e415c03150150ffe3ce05a Mon Sep 17 00:00:00 2001 From: Rick V Date: Thu, 3 Jan 2019 21:00:07 -0600 Subject: [PATCH] patch superseded by mike --- llarp/ev/ev_win32.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llarp/ev/ev_win32.hpp b/llarp/ev/ev_win32.hpp index bf61ce97c..a99dd7bfe 100644 --- a/llarp/ev/ev_win32.hpp +++ b/llarp/ev/ev_win32.hpp @@ -25,15 +25,15 @@ struct asio_evt_pkt }; struct win32_tun_io; + extern "C" DWORD FAR PASCAL tun_ev_loop(void* unused); + // list of TUN listeners (useful for exits or other nodes with multiple TUNs) std::list< win32_tun_io* > tun_listeners; // a single event queue for the TUN interface -HANDLE tun_event_queue = - INVALID_HANDLE_VALUE; // we pass this to the event loop thread procedure - // upon setup +HANDLE tun_event_queue = INVALID_HANDLE_VALUE; // we hand the kernel our thread handles to process completion events HANDLE* kThreadPool;