diff options
author | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2012-01-05 21:41:59 +0000 |
commit | 2019e311b10bc56d0ab99759d7a8a42a85b97dc0 (patch) | |
tree | 353324a2cbad16080f3e703dc917bad0f8f5778a /src/deviceConfig.hpp | |
parent | added helper scripts for mingw environment (diff) |
compiler clean windows checks
Diffstat (limited to 'src/deviceConfig.hpp')
-rw-r--r-- | src/deviceConfig.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |