aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_windows.go
diff options
context:
space:
mode:
authorGert-Jan Timmer <gjr.timmer@gmail.com>2018-05-27 00:05:45 +0200
committerGert-Jan Timmer <gjr.timmer@gmail.com>2018-05-27 00:05:45 +0200
commit420bfbcac8d3bc377e325ca78ecc73c192a7b03f (patch)
tree720d2a225b4289a07bcd375c3db371e687cb48a6 /sqlite3_windows.go
parentMerge pull request #568 from GJRTimmer/fix/usleep (diff)
downloadgolite-420bfbcac8d3bc377e325ca78ecc73c192a7b03f.tar.gz
golite-420bfbcac8d3bc377e325ca78ecc73c192a7b03f.tar.xz
fmt update
Fix: Placed all +build tags in the same location Fix: Split CFLAGS, LDFLAGS into seperate lines for readability and lookup Fix: Placed empty line between copyright comments and build tags for readability Fix: Placed OS specfic cgo flags at the end if the cgo sections contains multiple lines.
Diffstat (limited to 'sqlite3_windows.go')
-rw-r--r--sqlite3_windows.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/sqlite3_windows.go b/sqlite3_windows.go
index 163e8f7..4222e7f 100644
--- a/sqlite3_windows.go
+++ b/sqlite3_windows.go
@@ -2,13 +2,17 @@
//
// 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 windows,386 CFLAGS: -D_USE_32BIT_TIME_T
+#cgo CFLAGS: -I.
+#cgo CFLAGS: -fno-stack-check
+#cgo CFLAGS: -fno-stack-protector
+#cgo CFLAGS: -mno-stack-arg-probe
#cgo LDFLAGS: -lmingwex -lmingw32
+#cgo windows,386 CFLAGS: -D_USE_32BIT_TIME_T
*/
import "C"