hak5: Change go.mod for mirror, disable pread/pwrite64

master v.99.99.0
Mike Kershaw / Dragorn 2023-06-29 16:13:05 -04:00
parent f08f1b6b9c
commit 2edd0f8072
3 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/mattn/go-sqlite3 module github.com/hak5/go-sqlite3-hak5
go 1.16 go 1.16

View File

@ -21,7 +21,7 @@ package sqlite3
#cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 #cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT #cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
#cgo CFLAGS: -Wno-deprecated-declarations #cgo CFLAGS: -Wno-deprecated-declarations
#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1 #cgo linux,!android CFLAGS: -DHAVE_PREAD=1 -DHAVE_PWRITE=1
#cgo openbsd CFLAGS: -I/usr/local/include #cgo openbsd CFLAGS: -I/usr/local/include
#cgo openbsd LDFLAGS: -L/usr/local/lib #cgo openbsd LDFLAGS: -L/usr/local/lib
#ifndef USE_LIBSQLITE3 #ifndef USE_LIBSQLITE3

View File

@ -1,4 +1,4 @@
module github.com/mattn/go-sqlite3/upgrade module github.com/hak5/go-sqlite3-hak5/upgrade
go 1.16 go 1.16