From d939d6079a980f83f02cee10da62fea348a46b6f Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Fri, 3 Mar 2023 18:24:26 +0100 Subject: Don't try to check core:net on the BSDs. --- core/net/interface.odin | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'core/net/interface.odin') diff --git a/core/net/interface.odin b/core/net/interface.odin index 68eb73aa6..df7d0223e 100644 --- a/core/net/interface.odin +++ b/core/net/interface.odin @@ -1,3 +1,11 @@ +// +build windows, linux, darwin +package net + +/* + Package net implements cross-platform Berkeley Sockets, DNS resolution and associated procedures. + For other protocols and their features, see subdirectories of this package. +*/ + /* Copyright 2022 Tetralux Copyright 2022 Colin Davidson @@ -10,12 +18,6 @@ Jeroen van Rijn: Cross platform unification, code style, documentation */ -/* - Package net implements cross-platform Berkeley Sockets, DNS resolution and associated procedures. - For other protocols and their features, see subdirectories of this package. -*/ -package net - import "core:strings" MAX_INTERFACE_ENUMERATION_TRIES :: 3 -- cgit v1.2.3