aboutsummaryrefslogtreecommitdiff
path: root/generator.go
diff options
context:
space:
mode:
authorSteffen Butzer <steffengy@users.noreply.github.com>2017-06-10 16:53:16 +0200
committerGitHub <noreply@github.com>2017-06-10 16:53:16 +0200
commit3a6a05c6ee1837347732bd6f2da3a1b5fa83cf1d (patch)
treea57f4feb44a0b067766504bb208c85b55847520b /generator.go
parent212e4e19afc9ea6da37ed1357839fa16e6f8dcb1 (diff)
parent6b30b8701efe4d6bd16ebae7f8f2f5fee60462c4 (diff)
Merge pull request #13 from cznic/ccgo_windows
switch windows to CRT, throw out old virtual
Diffstat (limited to 'generator.go')
-rw-r--r--generator.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator.go b/generator.go
index 17d3ffa..8529cf3 100644
--- a/generator.go
+++ b/generator.go
@@ -168,6 +168,7 @@ func build(predef string, tus [][]string, opts ...cc.Opt) ([]*cc.TranslationUnit
cc.EnableEmptyStructs(),
cc.EnableImplicitFuncDef(),
cc.EnableNonConstStaticInitExpressions(),
+ cc.EnableWideBitFieldTypes(),
cc.ErrLimit(*errLimit),
cc.SysIncludePaths([]string{ccir.LibcIncludePath}),
}, opts...)...,