diff options
Diffstat (limited to 'sqlite3_windows.go')
-rw-r--r-- | sqlite3_windows.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sqlite3_windows.go b/sqlite3_windows.go index e4ebc24..163e8f7 100644 --- a/sqlite3_windows.go +++ b/sqlite3_windows.go @@ -1,8 +1,14 @@ +// 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. +// +build windows + package sqlite3 /* #cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -#cgo LDFLAGS: -lmingwex -lmingw32 -lmsvcr100 -#cgo CFLAGS: -DSQLITE_ENABLE_RTREE +#cgo windows,386 CFLAGS: -D_USE_32BIT_TIME_T +#cgo LDFLAGS: -lmingwex -lmingw32 */ import "C" |