0
0
mirror of https://gitlab.com/cznic/sqlite.git synced 2025-06-06 23:40:39 +00:00

fix sqlite build for windows

This commit is contained in:
Steffen
2017-04-26 22:47:17 +02:00
parent 1b640bcb5a
commit 5f0f14b4ac

@ -23,6 +23,8 @@ import (
"sort"
"strings"
"log"
"github.com/cznic/cc"
"github.com/cznic/ccir"
"github.com/cznic/internal/buffer"
@ -30,7 +32,6 @@ import (
"github.com/cznic/strutil"
"github.com/cznic/virtual"
"github.com/cznic/xc"
"log"
)
var (
@ -139,6 +140,7 @@ func build(predef string, tus [][]string, opts ...cc.Opt) ([]*cc.TranslationUnit
cc.AllowCompatibleTypedefRedefinitions(),
cc.EnableImplicitFuncDef(),
cc.EnableNonConstStaticInitExpressions(),
cc.EnableWideBitFieldTypes(),
cc.ErrLimit(*errLimit),
cc.SysIncludePaths([]string{ccir.LibcIncludePath}),
}, opts...)...,