Index: /ImageMagick/trunk/MagickCore/studio.h
===================================================================
--- /ImageMagick/trunk/MagickCore/studio.h	(revision 6881)
+++ /ImageMagick/trunk/MagickCore/studio.h	(revision 6885)
@@ -257,5 +257,5 @@
 #endif
 
-#if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
+#if defined(MAGICKCORE_HAVE___ALLOC_SIZE__)
 #  define magick_alloc_size(x)  __attribute__((__alloc_size__(x)))
 #  define magick_alloc_sizes(x,y)  __attribute__((__alloc_size__(x,y)))
@@ -264,5 +264,5 @@
 #else
 #  define magick_alloc_size(x)  /* nothing */
-#  define magick_alloc_sizes(x)  /* nothing */
+#  define magick_alloc_sizes(x,y)  /* nothing */
 #  define magick_cold
 #  define magick_hot
Index: /ImageMagick/trunk/MagickWand/studio.h
===================================================================
--- /ImageMagick/trunk/MagickWand/studio.h	(revision 6881)
+++ /ImageMagick/trunk/MagickWand/studio.h	(revision 6885)
@@ -262,5 +262,5 @@
 #endif
 
-#if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
+#if defined(MAGICKCORE_HAVE___ALLOC_SIZE__)
 #  define wand_alloc_size(x)  __attribute__((__alloc_size__(x)))
 #  define wand_alloc_sizes(x,y)  __attribute__((__alloc_size__(x,y)))
@@ -269,5 +269,5 @@
 #else
 #  define wand_alloc_size(x)  /* nothing */
-#  define wand_alloc_sizes(x)  /* nothing */
+#  define wand_alloc_sizes(x,y)  /* nothing */
 #  define wand_cold
 #  define wand_hot
