]> git.imager.perl.org - imager.git/blobdiff - imagei.h
- the convert, crop, rotate, copy, matrix_transform, to_paletted, to_rgb8,
[imager.git] / imagei.h
index 1fbfdd2227743f7d44ff1c5f28eed85fa3e3eb2e..3f2133d9a2ddd227f2548852760aa913aac22e5f 100644 (file)
--- a/imagei.h
+++ b/imagei.h
@@ -45,4 +45,10 @@ extern void i_get_combine(int combine, i_fill_combine_f *, i_fill_combinef_f *);
 
 extern UTIL_table_t i_UTIL_table;
 
+/* Ideally this will move into imconfig.h if we ever probe */
+#if defined(_GNU_SOURCE) || __STDC_VERSION__ >= 199901L
+/* snprintf() is part of C99 and provided by Glibc */
+#define HAVE_SNPRINTF
+#endif
+
 #endif