From 420bfbcac8d3bc377e325ca78ecc73c192a7b03f Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Sun, 27 May 2018 00:05:45 +0200 Subject: 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. --- sqlite3_windows.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sqlite3_windows.go') 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" -- cgit v1.2.3