vcpkg/ports/igraph/constant-nan.patch
2024-11-19 22:42:29 +00:00

13 lines
310 B
Diff

diff --git a/vendor/plfit/hzeta.c b/vendor/plfit/hzeta.c
index d8f9a6d..4ef8d5d 100644
--- a/vendor/plfit/hzeta.c
+++ b/vendor/plfit/hzeta.c
@@ -43,6 +43,7 @@
/* Author: Jerome G. Benoit < jgmbenoit _at_ rezozer _dot_ net > */
#ifdef _MSC_VER
+#define _UCRT_NOISY_NAN
#define _USE_MATH_DEFINES
#endif