diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index a093c927..b8363b9d 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -8,7 +8,7 @@ #include #include #ifdef __has_include - #if __has_include() + #if __has_include() && (__cplusplus > 202002L || _MSVC_LANG > 202002L) #include #endif #endif