From 2019e311b10bc56d0ab99759d7a8a42a85b97dc0 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 5 Jan 2012 21:41:59 +0000 Subject: compiler clean windows checks --- src/deviceConfig.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/deviceConfig.hpp') diff --git a/src/deviceConfig.hpp b/src/deviceConfig.hpp index ede6f34..cf9f530 100644 --- a/src/deviceConfig.hpp +++ b/src/deviceConfig.hpp @@ -47,7 +47,7 @@ public: DeviceConfig(std::string dev_name ,std::string dev_type, std::string ifcfg_addr, uint16_t ifcfg_prefix, uint16_t mtu) { mtu_ = mtu; type_ = TYPE_UNDEF; -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !defined(MINGW) if(dev_type != "") { if(!dev_type.compare(0,3,"tun")) { type_ = TYPE_TUN; -- cgit v1.2.3