summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-03-10 01:59:49 +0100
commit3ac1ee16f377d31a0fb80c8dae28b6239ac4229e (patch)
treef61faa581feaaeaba2542b9f2b8234a590684413 /vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-3ac1ee16f377d31a0fb80c8dae28b6239ac4229e.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go')
-rw-r--r--vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go30
1 files changed, 0 insertions, 30 deletions
diff --git a/vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go b/vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go
deleted file mode 100644
index be3873bf9..000000000
--- a/vendor/modernc.org/sqlite/lib/hooks_linux_arm64.go
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2019 The Sqlite Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package sqlite3
-
-import (
- "syscall"
- "unsafe"
-
- "modernc.org/libc"
-)
-
-// Format and write a message to the log if logging is enabled.
-func X__ccgo_sqlite3_log(t *libc.TLS, iErrCode int32, zFormat uintptr, va uintptr) { /* sqlite3.c:29405:17: */
- libc.X__ccgo_sqlite3_log(t, iErrCode, zFormat, va)
-}
-
-// https://gitlab.com/cznic/sqlite/-/issues/199
-//
-// We are currently stuck on libc@v1.55.3. Until that is resolved - fix the
-// problem at runtime.
-func PatchIssue199() {
- p := unsafe.Pointer(&_aSyscall)
- *(*uintptr)(unsafe.Add(p, 608)) = __ccgo_fp(_unixGetpagesizeIssue199)
-}
-
-func _unixGetpagesizeIssue199(tls *libc.TLS) (r int32) {
- return int32(syscall.Getpagesize())
-}