]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix #elif TARGET_LINUX missing defined() call
authorArne Schwabe <arne@rfc2549.org>
Sun, 28 Mar 2021 14:36:33 +0000 (16:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 28 Mar 2021 14:45:57 +0000 (16:45 +0200)
I found this when playing with building OpenVPN with cmake.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/tun.h

index 9d995dd46f0e0e31145aa41004d0f1bf92b4090e..902665cc660f2d6128d1ff9235f41589785fef10 100644 (file)
@@ -130,7 +130,7 @@ struct tuntap_options {
     int dns6_len;
 };
 
-#elif TARGET_LINUX
+#elif defined(TARGET_LINUX)
 
 struct tuntap_options {
     int txqueuelen;