在 2021-05-16 17:21, JonY via Mingw-w64-public 写道:
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index 3754dc64..b9277bd0 100644
--- a/mingw-w64-headers/crt/math.h
+++ b/mingw-w64-headers/crt/math.h
@@ -143,8 +143,12 @@ extern "C" {
  #endif
#ifndef _HUGE
+#ifdef _UCRT
+  extern double const _HUGE;
+#else

Because of the check for `_HUGE`, is it necessary to keep it as such, by 
`#define _HUGE _HUGE`?

In old MSVC CRT headers it was not a macro, which has already been an deviation.


--
Best regards,
Liu Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to