X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=config.h.in;h=7f99da5534f73ddd2e5ea4506062c40f1d645919;hp=72c6e5674d7436ffea3a4acee2961534d620cabe;hb=6595b27601ff72318acbcec25861ba1c824777df;hpb=e321a0df2c56ff61602b13c1440465911b231f89 diff --git a/config.h.in b/config.h.in index 72c6e56..7f99da5 100644 --- a/config.h.in +++ b/config.h.in @@ -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 @@ -274,4 +277,9 @@ #endif #endif +// supply a substitute calloc function if necessary +#ifndef HAVE_CALLOC +#define calloc rfx_calloc_replacement +#endif + #endif