Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions user_other.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// Package pq is a pure Go Postgres driver for the database/sql package.

//go:build js || android || hurd || zos
// +build js android hurd zos
// For some reason the current setup with the build tags causes this version of the userCurrent to be defined twice on at least illumos
// (thus porbably solaris aswell) to make the exclusion explicit the build tags listed here are an inverted mirror of those used in user_posix
// user_windows still provides the function on windows NT based platforms.

//go:build js || android || hurd || zos || !aix || !darwin || !dragonfly || !freebsd || !nacl || !netbsd || !openbsd || !plan9 || !solaris || !rumprun || !illumos
// +build js android hurd zos !aix !darwin !dragonfly !freebsd !nacl !netbsd !openbsd !plan9 !solaris !rumprun !illumos

package pq

Expand Down