mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-17 22:00:27 +00: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)
|
|
}
|