png speed improvement draft
[swftools.git] / config.h.in
index 72c6e56..7f99da5 100644 (file)
@@ -82,6 +82,9 @@
 /* Define if you have the srand48 function.  */
 #undef HAVE_SRAND48
 
+/* Define if you have the calloc function.  */
+#undef HAVE_CALLOC
+
 /* Define if you have the stat function.  */
 #undef HAVE_STAT
 
 #endif
 #endif
 
+// supply a substitute calloc function if necessary
+#ifndef HAVE_CALLOC
+#define calloc rfx_calloc_replacement
+#endif
+
 #endif