X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=config.h.in;h=7f99da5534f73ddd2e5ea4506062c40f1d645919;hp=72c6e5674d7436ffea3a4acee2961534d620cabe;hb=bdad407fb79c2f7be9f3603694ebdeadc645b52d;hpb=5efcb6288e64cdc160c5456c4cb6ddd0a0bb16cc 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