Added compile-time error when C99 is not present
This commit is contained in:
parent
278517ee1e
commit
f0bf3175ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue