mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-11 17:47:20 +10:00
17 lines
265 B
Go
17 lines
265 B
Go
//go:build with_gvisor && tvos
|
|
|
|
package tailscale
|
|
|
|
import (
|
|
_ "unsafe"
|
|
|
|
"github.com/sagernet/tailscale/types/lazy"
|
|
)
|
|
|
|
//go:linkname isAppleTV github.com/sagernet/tailscale/version.isAppleTV
|
|
var isAppleTV lazy.SyncValue[bool]
|
|
|
|
func init() {
|
|
isAppleTV.Set(true)
|
|
}
|