Commit 289bfa890b

Andrew Kelley <superjoe30@gmail.com>
2016-08-31 05:48:30
fix c hello world example
1 parent 9193a3c
Changed files (1)
example
hello_world
example/hello_world/hello_libc.zig
@@ -1,4 +1,4 @@
-const c = @c_import(@c_include("stdio.h"));
+const c = @cImport(@cInclude("stdio.h"));
 
 export fn main(argc: c_int, argv: &&u8) -> c_int {
     c.printf(c"Hello, world!\n");