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/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index b6baf6f..de6da92 100644 --- a/src/log.h +++ b/src/log.h @@ -60,8 +60,8 @@ std::ostream& operator<<(std::ostream& stream, LogGpgError const& value); class LogErrno { public: - LogErrno(int e) : err_(e) {}; - int err_; + LogErrno(system_error_t e) : err_(e) {}; + system_error_t err_; }; std::ostream& operator<<(std::ostream& stream, LogErrno const& value); -- cgit v1.2.3