Sfoglia il codice sorgente

portlist: fix build tag to build only on macOS, not macOS+iOS.

David Anderson 4 anni fa
parent
commit
bf8556ab86
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      portlist/portlist_macos.go

+ 2 - 2
portlist/portlist_macos.go

@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build darwin
-// +build darwin
+//go:build darwin && !ios
+// +build darwin,!ios
 
 package portlist