aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dynstr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dynstr.h b/include/dynstr.h
index 7f5b82e..c50c515 100644
--- a/include/dynstr.h
+++ b/include/dynstr.h
@@ -19,6 +19,10 @@
#include <stddef.h>
+#if __STDC_VERSION < 199901L
+#error C99 support is mandatory for dynstr
+#endif /* __STDC_VERSION < 199901L */
+
#ifdef __GNUC__
/* Since dynstr_append() might fail (as it is based on dynamic memory