Skip to content

Commit

Permalink
Merge pull request #239 from wojdyr/main
Browse files Browse the repository at this point in the history
check C++ standard version before including <stdfloat>
  • Loading branch information
lemire authored Feb 3, 2024
2 parents 8378916 + 55a5b3c commit 4b03518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fast_float/float_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <type_traits>
#include <system_error>
#ifdef __has_include
#if __has_include(<stdfloat>)
#if __has_include(<stdfloat>) && (__cplusplus > 202002L || _MSVC_LANG > 202002L)
#include <stdfloat>
#endif
#endif
Expand Down

0 comments on commit 4b03518

Please sign in to comment.