aboutsummaryrefslogtreecommitdiff
path: root/dynstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'dynstr.c')
-rw-r--r--dynstr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dynstr.c b/dynstr.c
index f816155..847b75f 100644
--- a/dynstr.c
+++ b/dynstr.c
@@ -21,6 +21,10 @@
#include <stdarg.h>
#include <stddef.h>
+#if __STDC_VERSION__ < 199901L
+#error C99 support is mandatory for dynstr
+#endif /* __STDC_VERSION < 199901L */
+
void dynstr_init(struct dynstr *const d)
{
memset(d, 0, sizeof *d);