Skip to content

Commit 3ef323f

Browse files
committed
unix: add illumos case
From CL 174457 which modified this file's vendored copy in the "go" repo. Updates golang/go#20603 Change-Id: Ic89b2e772120a08ac0fa3a56acb93a8ee96ba337 Reviewed-on: https://go-review.googlesource.com/c/sys/+/174958 Reviewed-by: Tobias Klauser <[email protected]>
1 parent c0b2631 commit 3ef323f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unix/sockcmsg_unix.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ func cmsgAlignOf(salen int) int {
2121
case "aix":
2222
// There is no alignment on AIX.
2323
salign = 1
24-
case "darwin", "dragonfly", "solaris":
25-
// NOTE: It seems like 64-bit Darwin, DragonFly BSD and
26-
// Solaris kernels still require 32-bit aligned access to
27-
// network subsystem.
24+
case "darwin", "dragonfly", "solaris", "illumos":
25+
// NOTE: It seems like 64-bit Darwin, DragonFly BSD,
26+
// illumos, and Solaris kernels still require 32-bit
27+
// aligned access to network subsystem.
2828
if SizeofPtr == 8 {
2929
salign = 4
3030
}

0 commit comments

Comments
 (0)