X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Fxmalloc.c;fp=gnu%2Fxmalloc.c;h=1ec5f88eee77c0e540c7fbafa1f7c1c4b4e2ef49;hp=99d5bf4653cc3c8908094f24cb16fda30ea43705;hb=ee168310ec4227174ace489bf5f81f8c2f91cde0;hpb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 diff --git a/gnu/xmalloc.c b/gnu/xmalloc.c index 99d5bf4..1ec5f88 100644 --- a/gnu/xmalloc.c +++ b/gnu/xmalloc.c @@ -32,8 +32,8 @@ /* 1 if calloc is known to be compatible with GNU calloc. This matters if we are not also using the calloc module, which defines - HAVE_CALLOC and supports the GNU API even on non-GNU platforms. */ -#if defined HAVE_CALLOC || defined __GLIBC__ + HAVE_CALLOC_GNU and supports the GNU API even on non-GNU platforms. */ +#if defined HAVE_CALLOC_GNU || defined __GLIBC__ enum { HAVE_GNU_CALLOC = 1 }; #else enum { HAVE_GNU_CALLOC = 0 };