diff options
| author | 2025-02-14 16:54:10 +0000 | |
|---|---|---|
| committer | 2025-02-14 16:54:10 +0000 | |
| commit | ebbdeee0bb91d5008a405e43114f1653ecdf8ce8 (patch) | |
| tree | d9b1c087a34e6f5947d553f7cb04503b3c411e93 /vendor/modernc.org/libc/etc.go | |
| parent | [bugfix] Drop status indices AFTER updating visibility (#3795) (diff) | |
| download | gotosocial-ebbdeee0bb91d5008a405e43114f1653ecdf8ce8.tar.xz | |
bump modernc.org/sqlite to v1.35.0-concurrency-workaround (#3797)
Diffstat (limited to 'vendor/modernc.org/libc/etc.go')
| -rw-r--r-- | vendor/modernc.org/libc/etc.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/modernc.org/libc/etc.go b/vendor/modernc.org/libc/etc.go index 1f78cfbff..9f12366fd 100644 --- a/vendor/modernc.org/libc/etc.go +++ b/vendor/modernc.org/libc/etc.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !(linux && (amd64 || arm64 || loong64)) +//go:build !(linux && (amd64 || arm64 || loong64 || ppc64le || s390x || riscv64 || 386 || arm)) package libc // import "modernc.org/libc" @@ -19,7 +19,6 @@ import ( "strings" "sync" "sync/atomic" - "syscall" "time" "unsafe" @@ -199,7 +198,7 @@ again: case *os.PathError: err = x.Err goto again - case syscall.Errno: + case syscallErrno: *(*int32)(unsafe.Pointer(t.errnop)) = int32(x) case *os.SyscallError: err = x.Err |
