summaryrefslogtreecommitdiff
path: root/libc/include/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/stdarg.h')
-rw-r--r--libc/include/stdarg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/stdarg.h b/libc/include/stdarg.h
index d30fbd8..321e664 100644
--- a/libc/include/stdarg.h
+++ b/libc/include/stdarg.h
@@ -41,3 +41,7 @@
#endif
#endif /* __STDARG_H */
+
+#if __FIRST_ARG_IN_AX__
+#error First arg is in a register, stdarg.h cannot take its address
+#endif