From: Arne Schwabe Date: Sun, 28 Mar 2021 14:36:33 +0000 (+0200) Subject: Fix #elif TARGET_LINUX missing defined() call X-Git-Tag: v2.6_beta1~582 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d11c273b07c422dde358e1b1caafd12bf8682e70;p=thirdparty%2Fopenvpn.git Fix #elif TARGET_LINUX missing defined() call I found this when playing with building OpenVPN with cmake. Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20210328143633.10300-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21884.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index 9d995dd46..902665cc6 100644 --- a/src/openvpn/tun.h +++ b/src/openvpn/tun.h @@ -130,7 +130,7 @@ struct tuntap_options { int dns6_len; }; -#elif TARGET_LINUX +#elif defined(TARGET_LINUX) struct tuntap_options { int txqueuelen;