mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-18 01:31:13 +00:00
12 lines
278 B
Go
12 lines
278 B
Go
|
//go:build !linux && !darwin && !windows
|
||
|
|
||
|
package waku
|
||
|
|
||
|
import "runtime"
|
||
|
|
||
|
// TODO: figure out how to get the number of file descriptors on Windows and other systems
|
||
|
func getNumFDs() int {
|
||
|
fmt.Println("cannot determine number of file descriptors on ", runtime.GOOS)
|
||
|
return 0
|
||
|
}
|