mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
Fix ios build
Cannot use errno as method and variable due to conflict with objc
This commit is contained in:
parent
cc7b5d8280
commit
b2092fafb7
2 changed files with 6 additions and 10 deletions
|
@ -35,11 +35,3 @@ func Version() string {
|
|||
func FormatBytes(length int64) string {
|
||||
return humanize.IBytes(uint64(length))
|
||||
}
|
||||
|
||||
type Func interface {
|
||||
Invoke() error
|
||||
}
|
||||
|
||||
type BoolFunc interface {
|
||||
Invoke() bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue