mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 20:22:26 -05:00
update sqlite library -> v1.13.0
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
2b14b20802
commit
71a4f8667c
158 changed files with 227599 additions and 4113 deletions
9
vendor/modernc.org/libc/libc_windows.go
generated
vendored
9
vendor/modernc.org/libc/libc_windows.go
generated
vendored
|
|
@ -226,24 +226,21 @@ func newFile(t *TLS, fd int32) uintptr {
|
|||
if err != nil {
|
||||
panic("no console")
|
||||
}
|
||||
f := addFile(h, fd)
|
||||
return uintptr(unsafe.Pointer(f))
|
||||
return addFile(h, fd)
|
||||
}
|
||||
if fd == unistd.STDOUT_FILENO {
|
||||
h, err := syscall.GetStdHandle(syscall.STD_OUTPUT_HANDLE)
|
||||
if err != nil {
|
||||
panic("no console")
|
||||
}
|
||||
f := addFile(h, fd)
|
||||
return uintptr(unsafe.Pointer(f))
|
||||
return addFile(h, fd)
|
||||
}
|
||||
if fd == unistd.STDERR_FILENO {
|
||||
h, err := syscall.GetStdHandle(syscall.STD_ERROR_HANDLE)
|
||||
if err != nil {
|
||||
panic("no console")
|
||||
}
|
||||
f := addFile(h, fd)
|
||||
return uintptr(unsafe.Pointer(f))
|
||||
return addFile(h, fd)
|
||||
}
|
||||
|
||||
// should not get here -- unless newFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue