diff --git a/vendor/libtuntap-master/tuntap-unix.c b/vendor/libtuntap-master/tuntap-unix.c index cfb729b2b..564f935ae 100644 --- a/vendor/libtuntap-master/tuntap-unix.c +++ b/vendor/libtuntap-master/tuntap-unix.c @@ -381,7 +381,7 @@ tuntap_set_debug(struct device *dev, int set) return 0; } -#ifndef Darwin +#if defined(__linux__) if(ioctl(dev->tun_fd, TUNSETDEBUG, &set) == -1) { switch(set)