aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-04-25 11:06:01 +0200
committerlemon <lsof@mailbox.org>2026-04-25 11:06:01 +0200
commit14c61e47e2bedc6c7aaba2e021207f5413694958 (patch)
tree12c366813773881c5373495a928b0d54d0146139 /src
parentc5d30df33130047e115ef208f10f496a2c2d9719 (diff)
C11 max_align_t
Diffstat (limited to 'src')
-rw-r--r--src/a_embedfilesdir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/a_embedfilesdir.c b/src/a_embedfilesdir.c
index 6500d84..407a4f2 100644
--- a/src/a_embedfilesdir.c
+++ b/src/a_embedfilesdir.c
@@ -16,6 +16,9 @@ typedef __WCHAR_TYPE__ wchar_t;\n\
#define NULL ((void*)0)\n\
#undef offsetof\n\
#define offsetof(type, memb) ((size_t)((char *)&((type *)0)->memb - (char *)0))\n\
+#if __STDC_VERSION__ >= 201112L\n\
+typedef struct {long long __ll; long double __ld;} max_align_t;\n\
+#endif\n\
")},
{"stdarg.h", S("\