define c macros before importing llvm h files
Seems to matter on Ubuntu 16.04. closes #1196
This commit is contained in:
parent
a2834d48b9
commit
10cc49db1c
@ -1,4 +1,6 @@
|
|||||||
pub use @cImport({
|
pub use @cImport({
|
||||||
|
@cDefine("__STDC_CONSTANT_MACROS", "");
|
||||||
|
@cDefine("__STDC_LIMIT_MACROS", "");
|
||||||
@cInclude("inttypes.h");
|
@cInclude("inttypes.h");
|
||||||
@cInclude("config.h");
|
@cInclude("config.h");
|
||||||
@cInclude("zig_llvm.h");
|
@cInclude("zig_llvm.h");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user