Skip to content

Commit

Permalink
Use unix versions on Illumos
Browse files Browse the repository at this point in the history
Illumos is the OpenSolaris-based OS core of OpenIndiana, SmartOS, etc.

Did not enable the dbus path because:

  go: downloading github.com/godbus/dbus/v5 v5.1.0
  # github.com/godbus/dbus/v5
  ../../go/pkg/mod/github.com/godbus/dbus/[email protected]/conn.go:147:17: undefined: getSystemBusPlatformAddress
  ../../go/pkg/mod/github.com/godbus/dbus/[email protected]/conn.go:174:14: undefined: getSystemBusPlatformAddress
  • Loading branch information
sjmulder committed Aug 10, 2023
1 parent f384c29 commit 47a209d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions alert_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || freebsd || netbsd || openbsd
// +build linux freebsd netbsd openbsd
//go:build linux || freebsd || netbsd || openbsd || illumos
// +build linux freebsd netbsd openbsd illumos

package beeep

Expand Down
4 changes: 2 additions & 2 deletions alert_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!js
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !illumos && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!illumos,!js

package beeep

Expand Down
4 changes: 2 additions & 2 deletions beep_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || freebsd || netbsd || openbsd
// +build linux freebsd netbsd openbsd
//go:build linux || freebsd || netbsd || openbsd || illumos
// +build linux freebsd netbsd openbsd illumos

package beeep

Expand Down
4 changes: 2 additions & 2 deletions beep_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!js
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !illumos && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!illumos,!js

package beeep

Expand Down
4 changes: 2 additions & 2 deletions notify_unix_nodbus.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build (linux && nodbus) || (freebsd && nodbus) || (netbsd && nodbus) || (openbsd && nodbus)
// +build linux,nodbus freebsd,nodbus netbsd,nodbus openbsd,nodbus
//go:build (linux && nodbus) || (freebsd && nodbus) || (netbsd && nodbus) || (openbsd && nodbus) || illumos
// +build linux,nodbus freebsd,nodbus netbsd,nodbus openbsd,nodbus illumos

package beeep

Expand Down
4 changes: 2 additions & 2 deletions notify_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!js
//go:build !linux && !freebsd && !netbsd && !openbsd && !windows && !darwin && !illumos && !js
// +build !linux,!freebsd,!netbsd,!openbsd,!windows,!darwin,!illumos,!js

package beeep

Expand Down

0 comments on commit 47a209d

Please sign in to comment.