sqlite3_windows.go 419 B

12345678910111213141516171819
  1. // Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
  2. //
  3. // Use of this source code is governed by an MIT-style
  4. // license that can be found in the LICENSE file.
  5. // +build windows
  6. package sqlite3
  7. /*
  8. #cgo CFLAGS: -I.
  9. #cgo CFLAGS: -fno-stack-check
  10. #cgo CFLAGS: -fno-stack-protector
  11. #cgo CFLAGS: -mno-stack-arg-probe
  12. #cgo LDFLAGS: -lmingwex -lmingw32
  13. #cgo windows,386 CFLAGS: -D_USE_32BIT_TIME_T
  14. */
  15. import "C"