summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-06-24 07:11:59 -0500
committerSteve Hay <SteveHay@planit.com>2005-06-27 07:41:52 +0000
commit77785eead56f43b89f14cf6ef1c9a99846e1beff (patch)
treed76cdd700c01099b40cc9e8e2717a1b489a045bd /perl.h
parent808ad2d056cb45de9ecfc820f8a60d1c7ec74e62 (diff)
downloadperl-77785eead56f43b89f14cf6ef1c9a99846e1beff.tar.gz
Suppress warnings about a clash between redefined malloc and the
use of __attribute__malloc__ Subject: Re: Fun with __attribute__malloc__ Message-ID: <20050624171159.GB29590@petdance.com> p4raw-id: //depot/perl@24987
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 4c09cd6cb5..1335096b17 100644
--- a/perl.h
+++ b/perl.h
@@ -2641,7 +2641,7 @@ typedef pthread_key_t perl_key;
# define __attribute__format__(x,y,z) __attribute__((format(x,y,z)))
#endif
#ifdef HASATTRIBUTE_MALLOC
-# define __attribute__malloc__ __attribute__((malloc))
+# define __attribute__malloc__ __attribute__((__malloc__))
#endif
#ifdef HASATTRIBUTE_NONNULL
# define __attribute__nonnull__(a) __attribute__((nonnull(a)))