From 8b8d5c6c6db2d0619df7e80e1f767cd8d3c901f4 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 18 Feb 2012 21:34:08 +0000 Subject: [PATCH] --- MagickCore/studio.h | 4 ++-- MagickWand/studio.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MagickCore/studio.h b/MagickCore/studio.h index 73622e9f9..526486338 100644 --- a/MagickCore/studio.h +++ b/MagickCore/studio.h @@ -256,14 +256,14 @@ extern int vsnprintf(char *,size_t,const char *,va_list); # define magick_unused(x) x #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))) # define magick_cold __attribute__((__cold__)) # define magick_hot __attribute__((__hot__)) #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 #endif diff --git a/MagickWand/studio.h b/MagickWand/studio.h index f73c8fdfe..ab0c3424f 100644 --- a/MagickWand/studio.h +++ b/MagickWand/studio.h @@ -261,14 +261,14 @@ extern int vsnprintf(char *,size_t,const char *,va_list); # define wand_unused(x) x #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))) # define wand_cold __attribute__((__cold__)) # define wand_hot __attribute__((__hot__)) #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 #endif -- 2.40.0