patch 8.2.4032: ATTRIBUTE_NORETURN is not needed
Problem: ATTRIBUTE_NORETURN is not needed.
Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
diff --git a/src/if_ruby.c b/src/if_ruby.c
index fcbbf33..c58c3c5 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -502,7 +502,11 @@
# endif
# endif
# if RUBY_VERSION >= 31
-static void (*dll_rb_unexpected_type) (VALUE, int) ATTRIBUTE_NORETURN;
+# ifdef _MSC_VER
+static void (*dll_rb_unexpected_type) (VALUE, int);
+# else
+NORETURN(static void (*dll_rb_unexpected_type) (VALUE, int));
+# endif
# endif
# if RUBY_VERSION >= 18
static char * (*dll_rb_string_value_ptr) (volatile VALUE*);