Work around BSD lack of core:net support

This commit is contained in:
Feoramund
2024-06-15 01:32:48 -04:00
parent f28c6c3bba
commit 51a013fcf1
5 changed files with 52 additions and 21 deletions
+11
View File
@@ -0,0 +1,11 @@
//+build !freebsd !netbsd !openbsd
package flags
import "base:runtime"
import "core:net"
Unified_Parse_Error_Reason :: union #shared_nil {
Parse_Error_Reason,
runtime.Allocator_Error,
net.Parse_Endpoint_Error,
}