mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-21 13:04:20 +02:00
Define _XOPEN_SOURCE=700 instead of _GNU_SOURCE
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
d68fdabd36
commit
67496fc907
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
|
|||
translate_c.defineCMacroRaw("TB_IMPL");
|
||||
// TODO 0.16.0: Workaround until Aro gets better...
|
||||
// https://codeberg.org/ziglang/translate-c/issues/319
|
||||
translate_c.defineCMacroRaw("_GNU_SOURCE");
|
||||
translate_c.defineCMacro("_XOPEN_SOURCE", "700");
|
||||
translate_c.defineCMacro("TB_OPT_ATTR_W", "32"); // Enable 24-bit color support + styling (32-bit)
|
||||
const termbox2 = translate_c.addModule("termbox2");
|
||||
mod.addImport("termbox2", termbox2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue