aboutsummaryrefslogtreecommitdiffstats
path: root/tun
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-09 03:31:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-09 03:31:17 +0200
commit0ba551807fcd0d33c6ad80842b71c8de42c2da55 (patch)
treee00c74af515360e409c16c6eed1ab9dcdbf6d459 /tun
parentFix duplicated wording (diff)
downloadwireguard-go-0ba551807fcd0d33c6ad80842b71c8de42c2da55.tar.xz
wireguard-go-0ba551807fcd0d33c6ad80842b71c8de42c2da55.zip
Do not build tun device on ios
Diffstat (limited to 'tun')
-rw-r--r--tun/tun_darwin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tun/tun_darwin.go b/tun/tun_darwin.go
index f692bbe..6262321 100644
--- a/tun/tun_darwin.go
+++ b/tun/tun_darwin.go
@@ -1,3 +1,5 @@
+// +build !ios
+
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.