diff --git a/tests/test_pytypes.cpp b/tests/test_pytypes.cpp index a9d4b4ff28..19f65ce7eb 100644 --- a/tests/test_pytypes.cpp +++ b/tests/test_pytypes.cpp @@ -13,8 +13,8 @@ #include -#if defined(PYBIND11_CPP20) \ - && __has_include() // __has_include has been part of C++17, no need to check it +//__has_include has been part of C++17, no need to check it +#if defined(PYBIND11_CPP20) && __has_include() # if !defined(PYBIND11_COMPILER_CLANG) || __clang_major__ >= 16 // llvm/llvm-project#52696 # define PYBIND11_TEST_PYTYPES_HAS_RANGES # include