diff --git a/include/curl/curl.h b/include/curl/curl.h index fd20d48f5f..b120dae586 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -3319,7 +3319,7 @@ CURL_EXTERN CURLcode curl_easy_ssls_export(CURL *handle, /* the typechecker does not work in C++ (yet) */ #if ((defined(__GNUC__) && defined(__GNUC_MINOR__) && \ ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || \ - (defined(__clang__) && __clang_major__ >= 14)) && \ + (defined(__clang__) && __clang_major__ >= 15)) && \ !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) #include "typecheck-gcc.h" #else