diff --git a/user_other.go b/user_other.go index 3dae8f55..7add3e85 100644 --- a/user_other.go +++ b/user_other.go @@ -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