summaryrefslogtreecommitdiff
path: root/src/deviceConfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/deviceConfig.hpp')
-rw-r--r--src/deviceConfig.hpp2
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;