From 55a5b3c8e136a6f55cbb13829f284bdc7150567c Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Sat, 3 Feb 2024 15:05:30 +0100 Subject: [PATCH] check C++ standard version before including fixes #238 --- include/fast_float/float_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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