]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 20 Nov 2009 15:04:30 +0000 (15:04 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 20 Nov 2009 15:04:30 +0000 (15:04 +0000)
magick/studio.h
wand/studio.h

index 4be9e11e09c6c863c195f33082ff75b6a6e431d0..5d4c719649871908c8fc9f89ca974b343547fd71 100644 (file)
@@ -231,7 +231,7 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if !defined(magick_attribute)
-#  if (defined(__GNUC__) && (__GNUC__ > 2))
+#  if (defined(__GNUC__) && (__GNUC__ >= 3))
 #    define magick_attribute  __attribute__
 #  else
 #    define magick_attribute(x)  /* nothing */
@@ -239,7 +239,7 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if !defined(magick_unused)
-#  if (defined(__GNUC__) && (__GNUC__ > 2))
+#  if (defined(__GNUC__) && (__GNUC__ >= 3))
 #     define magick_unused(x)  magick_unused_ ## x __attribute__((unused))
 #  elif defined(__LCLINT__)
 #    define magick_unused(x) /*@unused@*/ x
index b6623b9d95ca1e23490042bb264b20b4ceb37940..20bce09d2e069f035dc6d2a6f4589345753636dd 100644 (file)
@@ -231,7 +231,7 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if !defined(wand_attribute)
-#  if (defined(__GNUC__) && (__GNUC__ > 2))
+#  if (defined(__GNUC__) && (__GNUC__ >= 3))
 #    define wand_attribute  __attribute__
 #  else
 #    define wand_attribute(x)  /* nothing */
@@ -239,7 +239,7 @@ extern int vsnprintf(char *,size_t,const char *,va_list);
 #endif
 
 #if !defined(wand_unused)
-#  if (defined(__GNUC__) && (__GNUC__ > 2))
+#  if (defined(__GNUC__) && (__GNUC__ >= 3))
 #    define wand_unused(x)  wand_unused_ ## x __attribute__((unused))
 #  elif defined(__LCLINT__)
 #    define wand_unused(x) /*@unused@*/ x