[clang] [C23] Add INFINITY and NAN macros to <float.h> (PR #96659)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 13:19:30 PDT 2024
================
@@ -47,6 +47,8 @@
(defined(__cplusplus) && __cplusplus >= 201103L) || \
(__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
# undef DECIMAL_DIG
+# undef INFINITY
----------------
efriedma-quic wrote:
The define guarding the undefs needs to be the same as the one for the defines, I think?
https://github.com/llvm/llvm-project/pull/96659
More information about the cfe-commits
mailing list