mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 04:43:01 -06:00
bump to modernc.org/sqlite v1.29.7 (#2850)
This commit is contained in:
parent
c67bbe5ba0
commit
b3f2d44143
120 changed files with 631479 additions and 58069 deletions
5
vendor/modernc.org/memory/mmap_unix.go
generated
vendored
5
vendor/modernc.org/memory/mmap_unix.go
generated
vendored
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE-MMAP-GO file.
|
||||
|
||||
//go:build darwin || dragonfly || freebsd || linux || openbsd || (solaris && !illumos) || netbsd
|
||||
// +build darwin dragonfly freebsd linux openbsd solaris,!illumos netbsd
|
||||
//go:build darwin || dragonfly || freebsd || linux || (solaris && !illumos) || netbsd
|
||||
// +build darwin dragonfly freebsd linux solaris,!illumos netbsd
|
||||
|
||||
// Modifications (c) 2017 The Memory Authors.
|
||||
|
||||
|
|
@ -33,6 +33,7 @@ func unmap(addr uintptr, size int) error {
|
|||
// pageSize aligned.
|
||||
func mmap(size int) (uintptr, int, error) {
|
||||
size = roundup(size, osPageSize)
|
||||
|
||||
// The actual mmap syscall varies by architecture. mmapSyscall provides same
|
||||
// functionality as the unexported funtion syscall.mmap and is declared in
|
||||
// mmap_*_*.go and mmap_fallback.go. To add support for a new architecture,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue