]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 23 Oct 2012 16:03:57 +0000 (16:03 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 23 Oct 2012 16:03:57 +0000 (16:03 +0000)
MagickCore/method-attribute.h

index 4b79d2a6fcaa50b3468690b6d506ae094cda0dfa..f6043a65efa1cf5c3a692fc68a4cca95f265c125 100644 (file)
@@ -112,6 +112,10 @@ extern "C" {
 #  define magick_aligned(x)  __attribute__((aligned(x)))
 #  define magick_attribute  __attribute__
 #  define magick_unused(x)  magick_unused_ ## x __attribute__((unused))
+#elif defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(__CYGWIN__)
+#  define magick_aligned(x)  __declspec(align(x))
+#  define magick_attribute(x)  /* nothing */
+#  define magick_unused(x) x
 #else
 #  define magick_aligned(x)  /* nothing */
 #  define magick_attribute(x)  /* nothing */