platform: Fix build on windows

This commit is contained in:
世界
2023-04-07 21:10:16 +08:00
parent 72dbf2e2b4
commit 5bf177b021
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
package libbox
import "os"
func dup(fd int) (nfd int, err error) {
return 0, os.ErrInvalid
}