Skip to content

Commit

Permalink
Provide illumos support (#12)
Browse files Browse the repository at this point in the history
Add illumos support back again to shellcgo.
  • Loading branch information
drscream authored Dec 22, 2024
1 parent b7bedec commit 2faa05d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shellcgo.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//go:build (cgo && aix) || (cgo && android) || (cgo && darwin) || (cgo && dragonfly) || (cgo && freebsd) || (cgo && linux) || (cgo && netbsd) || (cgo && openbsd)
//go:build (cgo && aix) || (cgo && android) || (cgo && darwin) || (cgo && dragonfly) || (cgo && freebsd) || (cgo && linux) || (cgo && netbsd) || (cgo && openbsd) || (cgo && illumos)

package shell

// #cgo illumos CFLAGS: -D_POSIX_PTHREAD_SEMANTICS=1
// #include <errno.h>
// #include <pwd.h>
// #include <stdlib.h>
Expand Down

0 comments on commit 2faa05d

Please sign in to comment.