go-sqlite3/driver/os_windows.go

21 lines
404 B
Go
Raw Normal View History

2018-06-15 18:53:32 +03:00
// Copyright (C) 2018 The Go-SQLite3 Authors.
2014-08-18 11:56:31 +04:00
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
2015-03-12 12:43:55 +03:00
// +build windows
2014-08-18 12:00:59 +04:00
package sqlite3
2012-10-28 06:58:40 +04:00
/*
#cgo CFLAGS: -I.
#cgo CFLAGS: -fno-stack-check
#cgo CFLAGS: -fno-stack-protector
#cgo CFLAGS: -mno-stack-arg-probe
2018-06-15 18:53:32 +03:00
2014-09-10 09:58:32 +04:00
#cgo LDFLAGS: -lmingwex -lmingw32
2018-06-15 18:53:32 +03:00
#cgo windows,386 CFLAGS: -D_USE_32BIT_TIME_T
2012-10-28 06:58:40 +04:00
*/
import "C"