From 1e12add3e66522b94a5d0eea603c15f93f7dd8cd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 19 Jan 2009 20:13:43 +0000 Subject: started to implement windows tunDevice updated LogErrno to support Windows Error Codes --- src/tunDevice.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tunDevice.h') diff --git a/src/tunDevice.h b/src/tunDevice.h index 99f3d4b..c07f813 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -36,6 +36,10 @@ #include "deviceConfig.hpp" #include "threadUtils.hpp" +#ifdef _MSC_VER +#include +#endif + class TunDevice { public: @@ -71,6 +75,10 @@ private: int fix_return(int ret, size_t pi_length); int fd_; +#ifdef _MSC_VER + HANDLE handle_; +#endif + DeviceConfig conf_; bool with_pi_; std::string actual_name_; -- cgit v1.2.3