diff --git a/racket/src/racket/include/scheme.h b/racket/src/racket/include/scheme.h index 9cebae3bc9..0ce18ceaa9 100644 --- a/racket/src/racket/include/scheme.h +++ b/racket/src/racket/include/scheme.h @@ -252,10 +252,7 @@ extern "C" { #endif -/* The reason we need two preprocessor variables is that, in gcc/clang the - function attribute comes after the function declaration. However, - in MSVC the function attribute comes before the function declaration. */ -#ifdef __GNUC__ +#if defined(MZ_DECLARE_NORETURN) && defined(__GNUC__) #define NORETURN __attribute__((__noreturn__)) #else #define NORETURN