From: H.Merijn Brand Date: Mon, 12 Sep 2005 13:26:31 +0000 (+0000) Subject: Detection of malloc_size and malloc_good_size X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7dd121aefd69a3ba2201a35698deaeda3a8a77ad;p=p5sagit%2Fp5-mst-13.2.git Detection of malloc_size and malloc_good_size p4raw-id: //depot/perl@25387 --- diff --git a/Configure b/Configure index 7be96c6..e5dd705 100755 --- a/Configure +++ b/Configure @@ -26,7 +26,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Sep 6 16:35:32 CEST 2005 [metaconfig 3.0 PL70] +# Generated on Mon Sep 12 15:44:06 CEST 2005 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_madvise HAS_MADVISE /**/ +/* HAS_MALLOC_SIZE: + * This symbol, if defined, indicates that the malloc_size + * routine is available for use. + */ +#$d_malloc_size HAS_MALLOC_SIZE /**/ + +/* HAS_MALLOC_GOOD_SIZE: + * This symbol, if defined, indicates that the malloc_good_size + * routine is available for use. + */ +#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. diff --git a/handy.h b/handy.h index 7b5eb16..dbf70d8 100644 --- a/handy.h +++ b/handy.h @@ -175,7 +175,7 @@ typedef U64TYPE U64; #endif /* HMB H.Merijn Brand - a placeholder for preparing Configure patches */ -#if defined(LIBM_LIB_VERSION) +#if defined(HAS_MALLOC_SIZE) && defined(HAS_MALLOC_GOOD_SIZE) /* Not (yet) used at top level, but mention them for metaconfig */ #endif