From 72a52ef1509cac2b68f3df5f3d29b2f4c89612fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D0=B3=D0=B4=D0=B0=D0=BD=20=D0=A0=D0=BE=D0=BC?= =?UTF-8?q?=D0=B0=D0=BD=D1=8E=D0=BA?= Date: Sun, 7 Jul 2024 21:32:36 +0300 Subject: [PATCH] add 3 __STDC macros --- src/aro/Compilation.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aro/Compilation.zig b/src/aro/Compilation.zig index 8ccb8479..12ccc855 100644 --- a/src/aro/Compilation.zig +++ b/src/aro/Compilation.zig @@ -551,6 +551,9 @@ pub fn generateBuiltinMacros(comp: *Compilation, system_defines_mode: SystemDefi \\#define __STDC_NO_VLA__ 1 \\#define __STDC_UTF_16__ 1 \\#define __STDC_UTF_32__ 1 + \\#define __STDC_EMBED_NOT_FOUND__ 0 + \\#define __STDC_EMBED_FOUND__ 1 + \\#define __STDC_EMBED_EMPTY__ 2 \\ ); if (comp.langopts.standard.StdCVersionMacro()) |stdc_version| {