diff options
author | Yorhel <git@yorhel.nl> | 2021-12-26 11:02:32 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-12-26 11:02:42 +0100 |
commit | 2b23951e4f70d573a49dd7f44f3b730921b7d5b1 (patch) | |
tree | 10366cb270cd60c5972072893cce62eb18a950c1 | |
parent | a6f5678088fc02694984a68816a6f3a4a0cc1941 (diff) |
ui.zig: Really fix import of wcwidth() this time
Fixes #183
-rw-r--r-- | src/ui.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,11 +8,11 @@ const main = @import("main.zig"); const util = @import("util.zig"); pub const c = @cImport({ + @cDefine("_XOPEN_SOURCE", "1"); @cInclude("stdio.h"); @cInclude("string.h"); @cInclude("curses.h"); @cInclude("time.h"); - @cDefine("_XOPEN_SOURCE", "1"); @cInclude("wchar.h"); @cInclude("locale.h"); }); |