go-sqlcipher/sqlite3_windows.go

15 lines
421 B
Go
Raw Normal View History

2014-08-18 11:56:31 +04:00
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
2014-08-18 12:00:59 +04:00
package sqlite3
2012-10-28 06:58:40 +04:00
/*
#cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe
2014-10-24 14:38:05 +04:00
#cgo windows,386 CFLAGS: -D_localtime32=localtime
2014-09-10 09:58:32 +04:00
#cgo LDFLAGS: -lmingwex -lmingw32
2014-10-22 08:31:54 +04:00
#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE
2012-10-28 06:58:40 +04:00
*/
import "C"