We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e89c3 commit ee47b2bCopy full SHA for ee47b2b
Include/pyport.h
@@ -630,7 +630,7 @@ extern "C" {
630
// style fallthrough attribute, not the GCC extension syntax used here,
631
// and __has_attribute(fallthrough) evaluates to 1.
632
#if _Py__has_attribute(fallthrough) && (!defined(__clang__) || \
633
- (!defined(__apple_build_version__) && __clang_major__ >= 10) || \
+ ((!defined(__apple_build_version__) && !defined(__NetBSD__)) && __clang_major__ >= 10) || \
634
(defined(__apple_build_version__) && __clang_major__ >= 12))
635
# define _Py_FALLTHROUGH __attribute__((fallthrough))
636
#else
0 commit comments