From e08f77e8ebd9e7965b590bbb6a048381056db3a5 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Thu, 16 Jan 2025 21:39:35 +0100 Subject: [PATCH] don't depend on bleeding edge language features (#23) * don't depend on bleeding edge language features * restore identiation --- MagickCore/method-attribute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/method-attribute.h b/MagickCore/method-attribute.h index 0757df8f9e7..66092dc09dd 100644 --- a/MagickCore/method-attribute.h +++ b/MagickCore/method-attribute.h @@ -107,7 +107,7 @@ extern "C" { #else # define magick_alloc_size(x) /* nothing */ # define magick_alloc_sizes(x,y) /* nothing */ -# if defined(_MSC_VER) +# if defined(_MSC_VER) && (__STDC_VERSION__) >= 202311L # define magick_fallthrough [[fallthrough]] # else # define magick_fallthrough /* nothing */