mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
Fix ios build
Cannot use errno as method and variable due to conflict with objc
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user