summary refs log tree commit diff
path: root/src/cimport.zig
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-03-01 06:40:51 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-03-01 06:40:51 +0900
commit474ede369ba155f12a7b2c3b157c11fd4d58baca (patch)
tree01275f6f34e8f39d2ffc920fb4fe8d7ee46287c5 /src/cimport.zig
parent63ac01380080200d38f16795a64b62a4f2cd680a (diff)
downloadroux-474ede369ba155f12a7b2c3b157c11fd4d58baca.tar.gz
Support macOS
Diffstat (limited to 'src/cimport.zig')
-rw-r--r--src/cimport.zig6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cimport.zig b/src/cimport.zig
index 65666b2..19416af 100644
--- a/src/cimport.zig
+++ b/src/cimport.zig
@@ -1,8 +1,4 @@
-pub const FILE = stdio.FILE;
-pub const fclose = stdio.fclose;
-pub const fopen = stdio.fopen;
-pub const fputs = stdio.fputs;
-pub const stdio = @cImport(@cInclude("stdio.h"));
+pub const FILE = @import("std").c.FILE;
 
 pub const bits = u64;