c: fix _Noreturn support detection

Reported by Christopher Nielsen <mascguy@github.com>.
<https://trac.macports.org/ticket/59927#comment:59> and
<https://trac.macports.org/ticket/59927#comment:62>.

* data/skeletons/c.m4: Fix typo.
This commit is contained in:
Akim Demaille
2021-08-11 09:14:20 +02:00
parent 07cdeda9f8
commit 348b5039fd

View File

@@ -393,7 +393,7 @@ dnl use C' _Noreturn in C++, to avoid -Wc11-extensions warnings.
# elif ((!defined __cplusplus || defined __clang__) \ # elif ((!defined __cplusplus || defined __clang__) \
&& (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
|| (!defined __STRICT_ANSI__ \ || (!defined __STRICT_ANSI__ \
&& (__4 < __GNUC__ + (7 <= __GNUC_MINOR__) \ && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) \
|| (defined __apple_build_version__ \ || (defined __apple_build_version__ \
? 6000000 <= __apple_build_version__ \ ? 6000000 <= __apple_build_version__ \
: 3 < __clang_major__ + (5 <= __clang_minor__)))))) : 3 < __clang_major__ + (5 <= __clang_minor__))))))