aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-03 19:20:09 +0900
committernsfisis <nsfisis@gmail.com>2025-09-03 19:20:09 +0900
commitcab2491d14c6452f4382ce111a25166ed6e997c9 (patch)
tree7b3c94cafaf78c456b31d6dd94e36622bdfc7402
parent16aa2c081db71181ba33aa205d2b0699efa29a99 (diff)
downloadducc-cab2491d14c6452f4382ce111a25166ed6e997c9.tar.gz
ducc-cab2491d14c6452f4382ce111a25166ed6e997c9.tar.zst
ducc-cab2491d14c6452f4382ce111a25166ed6e997c9.zip
feat: define __gnuc_va_list for glibc
-rw-r--r--include/stdarg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdarg.h b/include/stdarg.h
index fdc0b80..95c068c 100644
--- a/include/stdarg.h
+++ b/include/stdarg.h
@@ -19,4 +19,7 @@ typedef struct __ducc_va_list* va_list;
#define va_start(args, start) __ducc_va_start(args, start)
#define va_end(args)
+// For glibc:
+typedef va_list __gnuc_va_list;
+
#endif