diff options
author | Steffen <steffen.butzer@outlook.com> | 2017-04-26 22:47:17 +0200 |
---|---|---|
committer | Steffen <steffen.butzer@outlook.com> | 2017-04-26 22:48:16 +0200 |
commit | 5f0f14b4acca1c7a1045d92489500d00b4cee8ca (patch) | |
tree | fc326e30e56aa9ad1ab20d111037287f183fed3d | |
parent | 1b640bcb5a146750d56fe6401cceb7dd58bb508e (diff) |
fix sqlite build for windows
-rw-r--r-- | generator.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generator.go b/generator.go index 58739bd..03bb15e 100644 --- a/generator.go +++ b/generator.go @@ -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...)..., |